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

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

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

            //  throw new NotImplementedException();
        }