Esempio n. 1
0
 public bool DeleteBooking(int BookingId)
 {
     try
     {
         if (bookingHandler == null)
         {
             bookingHandler = new BookingHandler();
         }
         return(bookingHandler.DeleteBooking(BookingId));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
 public async Task <object> Execute()
 {
     return(await BookingHandler.DeleteBooking(BookingId));
 }