Beispiel #1
0
        public async Task <List <Comment> > GetCommentByIdStory(int StoryId)
        {
            var resylt = _commentFinder.GetCommentByIdStory(StoryId);

            foreach (var item in resylt)
            {
                if (item.User == null)
                {
                    item.User = _userFinder.FindById(item.UserId);
                }
            }
            return(resylt);
        }
Beispiel #2
0
        public async Task <List <Comment> > GetCommentByIdStory(string StoryId)
        {
            var resylt = _commentFinder.GetCommentByIdStory(StoryId);

            return(resylt);
        }