public async Task UpdateAsync(PassengerBookingProposal proposal) { _passengerContext.PassengerBookingProposals.Update(proposal); await _passengerContext.SaveChangesAsync(); }
public async Task AddAsync(PassengerBookingProposal proposal) { await _passengerContext.PassengerBookingProposals.AddAsync(proposal); }