Esempio n. 1
0
 public async Task <ActionResult <ReservationDTO> > GetById(int id)
 {
     if (_ReservationService.Existencia(id) == true)
     {
         return(await _ReservationService.GetById(id));
     }
     else
     {
         return(NotFound());
     }
 }