Example #1
0
 public async Task UpdateAsync(PassengerBookingProposal proposal)
 {
     _passengerContext.PassengerBookingProposals.Update(proposal);
     await _passengerContext.SaveChangesAsync();
 }
Example #2
0
 public async Task AddAsync(PassengerBookingProposal proposal)
 {
     await _passengerContext.PassengerBookingProposals.AddAsync(proposal);
 }