Example #1
0
        public virtual async Task <ActionResult <IEnumerable <FeedbackDto> > > Get()
        {
            var dtos = await _feedbackService.GetAllEntitiesAsync();

            if (!dtos.Any())
            {
                return(NoContent());
            }

            return(Ok(dtos));
        }