public HashSet <string> DeleteValidation(vHotel parameters) { return(ValidationMessages); }
public Task DeleteAsync(vHotel parameters) { throw new NotImplementedException(); }
public async Task UpdateAsync(vHotel entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public HashSet <string> UpdateValidation(vHotel entity) { return(ValidationMessages); }
public async Task AddAsync(vHotel entity) { await Uow.RegisterNewAsync(entity); await Uow.CommitAsync(); }
public Task <object> GetBy(vHotel parameters) { throw new NotImplementedException(); }
public async Task <object> GetAsync(vHotel parameters) { return(await Uow.Repository <vHotel>().FindByAsync(t => t.CityName == parameters.CityName)); // throw new NotImplementedException(); }