Beispiel #1
0
 public async Task <List <Comment> > GetAllWithSubComments(int blogId, int?parentId)
 {
     return(await _commentDal.GetAllWithSubComments(blogId, parentId));
 }
Beispiel #2
0
 public IDataResult <List <Comment> > GetAllWithSubComments(int articleId, int?parentId)
 {
     return(new SuccessDataResult <List <Comment> >(_commentDal.GetAllWithSubComments(articleId, parentId)));
 }