public HashSet <string> DeleteValidation(vBookedFlight parameters) { return(ValidationMessages); }
public Task DeleteAsync(vBookedFlight parameters) { throw new NotImplementedException(); }
public async Task UpdateAsync(vBookedFlight entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public HashSet <string> UpdateValidation(vBookedFlight entity) { return(ValidationMessages); }
public async Task AddAsync(vBookedFlight entity) { await Uow.RegisterNewAsync(entity); await Uow.CommitAsync(); }
public async Task <object> GetBy(vBookedFlight parameters) { throw new NotImplementedException(); }
public async Task <object> GetAsync(vBookedFlight parameters) { return(await Uow.Repository <vBookedFlight>().FindByAsync(t => t.TravellerId == parameters.TravellerId && t.FlightId == parameters.FlightId)); }