Blog.Services.Implementation.PostsService.GetRecentPosts C# (CSharp) Метод

GetRecentPosts() публичный Метод

public GetRecentPosts ( int postsCount ) : List
postsCount int
Результат List
        public List<Post> GetRecentPosts(int postsCount)
        {
            var dbPosts = _postsLogic.GetRecentPosts(postsCount);
            var posts = SetPostProperties(dbPosts);

            return posts;
        }