public IActionResult All() { return(new ObjectResult(feedbackService.All())); }
public async Task <IEnumerable <FeedbackViewModel> > All() => _mapper.Map <IEnumerable <FeedbackViewModel> >(await _feedbackService.All());
public IActionResult All() { return(new ObjectResult(feedbackService.All())); }
public async Task <IEnumerable <FeedbackViewModel> > All() => _mapper.Map <IEnumerable <FeedbackViewModel> >(await _feedbackService.All());