public List<Post> GetPopularPosts(int postsCount) { var dbPosts = _postsLogic.GetPopularPosts(postsCount); var posts = SetPostProperties(dbPosts); return posts; }