public bool Modify(iPow.Infrastructure.Data.DataSys.Sys_HotelPropertyInfo2 entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser) { var res = false; if (entity != null && entity.ID > 0) { try { hotelPropertyInfo2Repository.Modify(entity); res = true; } catch (Exception ex) { } } return(res); }
public bool DeleteTrue(iPow.Infrastructure.Data.DataSys.Sys_HotelPropertyInfo2 entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser) { var res = false; if (entity != null) { try { hotelPropertyInfo2Repository.Delete(entity); hotelPropertyInfo2Repository.Uow.Commit(); res = true; } catch (Exception ex) { } } return(res); }
public bool Delete(iPow.Infrastructure.Data.DataSys.Sys_HotelPropertyInfo2 entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser) { throw new NotImplementedException(); }