Exemplo n.º 1
0
 public IHttpActionResult RemoveReservation(int id)
 {
     try
     {
         repo.DeleteReservation(id);
         return(Ok("Reservation Deleted Successfully"));
     }
     catch (Exception)
     {
         return(NotFound());
     }
 }
Exemplo n.º 2
0
 public void DeleteReservation(int id)
 {
     _repo.DeleteReservation(id);
 }