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