Example #1
0
 public HashSet <string> DeleteValidation(vBookedFlight parameters)
 {
     return(ValidationMessages);
 }
Example #2
0
 public Task DeleteAsync(vBookedFlight parameters)
 {
     throw new NotImplementedException();
 }
Example #3
0
        public async Task UpdateAsync(vBookedFlight entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Example #4
0
 public HashSet <string> UpdateValidation(vBookedFlight entity)
 {
     return(ValidationMessages);
 }
Example #5
0
        public async Task AddAsync(vBookedFlight entity)
        {
            await Uow.RegisterNewAsync(entity);

            await Uow.CommitAsync();
        }
Example #6
0
 public async Task <object> GetBy(vBookedFlight parameters)
 {
     throw new NotImplementedException();
 }
Example #7
0
 public async Task <object> GetAsync(vBookedFlight parameters)
 {
     return(await Uow.Repository <vBookedFlight>().FindByAsync(t => t.TravellerId == parameters.TravellerId && t.FlightId == parameters.FlightId));
 }