Exemplo n.º 1
0
 public void Update(Reservation reservation, Guid id)
 {
     if (!id.Equals(reservation.Id))
     {
         throw  new GuidNotEqualException();
     }
     _reservationRepository.Update(reservation);
 }
Exemplo n.º 2
0
 public void Insert(Reservation reservation)
 {
     _reservationRepository.Update(reservation);
 }