public bool Delete(iPow.Infrastructure.Data.DataSys.Sys_MvcControllerClass entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser) { var res = false; if (entity != null && entity.Id > 0) { try { entity.State = false; controllerClassRepository.Modify(entity); res = true; } catch (Exception ex) { } } return(res); }
public void Modify(iPow.Infrastructure.Data.DataSys.Sys_MvcControllerClass type) { controllerClassRepository.Modify(type); controllerClassRepository.Uow.Commit(); }