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