Blog.Services.Implementation.PostsService.GetMorePopularPosts C# (CSharp) Method

GetMorePopularPosts() public method

public GetMorePopularPosts ( int postsCount, int skip ) : List
postsCount int
skip int
return List
        public List<Post> GetMorePopularPosts(int postsCount, int skip)
        {
            var dbPosts = _postsLogic.GetMorePopularPosts(postsCount, skip);
            var posts = SetPostProperties(dbPosts);

            return posts;
        }