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

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

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