public async Task <ActionResult <IEnumerable <ServicioGetDTO> > > GetByRestaurantId(int id) { var servicios = await _servicioService.FindByRestaurantIdAsync(id); if (servicios == null) { return(NotFound()); } return(Ok(_mapper.Map <IEnumerable <ServicioGetDTO> >(servicios))); }