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