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