public IActionResult List() { var shows = _mapper.ProjectTo <ShowViewModel>(_showsService.GetAll()); return(Ok(shows)); }
public async Task <IEnumerable <ShowViewModel> > GetAllShows() { return(await _showsService.GetAll()); }