コード例 #1
0
 public void Update(Reservation reservation, Guid id)
 {
     if (!id.Equals(reservation.Id))
     {
         throw  new GuidNotEqualException();
     }
     _reservationRepository.Update(reservation);
 }
コード例 #2
0
 public void Insert(Reservation reservation)
 {
     _reservationRepository.Update(reservation);
 }