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

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

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

            //  throw new NotImplementedException();
        }