public static Reserva ToDeleteReserva(this DeleteReservaDTO deleteReserva)
 {
     return(new Reserva()
     {
         Id = deleteReserva.Id,
         Reservacion = deleteReserva.Reservacion,
         Entrega = deleteReserva.Entrega,
         Usuario = new Usuario()
         {
             Id = deleteReserva.Id
         }
     });
 }
Exemple #2
0
 public Task DeleteReservasAsync(DeleteReservaDTO entity)
 {
     throw new NotImplementedException();
 }