public async Task <ActionResult <List <ReviewComment> > > GetAll(int reviewId) { var reviewComments = await _reviewCommentRepository.GetAllAsync(reviewId); return(Ok(reviewComments)); }
public async Task <IEnumerable <ReviewComment> > GetAllAsync() { return(await repo.GetAllAsync()); }