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

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

            await Uow.CommitAsync();
        }
Exemple #6
0
 public Task <object> GetBy(vPassengerInvoice parameters)
 {
     //return await Uow.Repository<vHotel>().FindByAsync(t => t. == parameters.UserId);
     throw new NotImplementedException();
 }
Exemple #7
0
        public async Task <object> GetAsync(vPassengerInvoice parameters)
        {
            return(await Uow.Repository <vPassengerInvoice>().FindByAsync(t => t.UserId == parameters.UserId));

            //  throw new NotImplementedException();
        }