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); }
public async Task <List <Comment> > GetCommentByIdStory(string StoryId) { var resylt = _commentFinder.GetCommentByIdStory(StoryId); return(resylt); }