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

GetPostsForUser() public method

public GetPostsForUser ( int userId, int threshold = 5, int skip = 10 ) : List
userId int
threshold int
skip int
return List
        public List<Post> GetPostsForUser(int userId, int threshold = 5, int skip = 10)
        {
            var dbPosts = _postsLogic.GetPostsForUser(userId, threshold, skip);
            var posts = SetPostProperties(dbPosts);

            return posts;
        }