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

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

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