Esempio n. 1
0
        public async Task <ActionResult <List <ReviewComment> > > GetAll(int reviewId)
        {
            var reviewComments = await _reviewCommentRepository.GetAllAsync(reviewId);

            return(Ok(reviewComments));
        }
Esempio n. 2
0
 public async Task <IEnumerable <ReviewComment> > GetAllAsync()
 {
     return(await repo.GetAllAsync());
 }