public void Update(Reservation reservation, Guid id) { if (!id.Equals(reservation.Id)) { throw new GuidNotEqualException(); } _reservationRepository.Update(reservation); }
public void Insert(Reservation reservation) { _reservationRepository.Update(reservation); }