public bool Modify(iPow.Infrastructure.Data.DataSys.Sys_MvcControllerActionClass entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser) { var res = false; if (entity != null && entity.Id > 0) { try { mvcControllerActionClassRepository.Modify(entity); res = true; } catch (Exception ex) { } } return res; }
public bool Add(iPow.Infrastructure.Data.DataSys.Sys_MvcControllerActionClass enitty, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser) { var res = false; if (enitty != null) { try { mvcControllerActionClassRepository.Add(enitty); mvcControllerActionClassRepository.Uow.Commit(); res = true; } catch (Exception ex) { } } return res; }
public void Modify(iPow.Infrastructure.Data.DataSys.Sys_MvcControllerActionClass mvcControllerActionClass) { mvcControllerActionClassRepository.Modify(mvcControllerActionClass); mvcControllerActionClassRepository.Uow.Commit(); }