Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
public bool SaveRolePro(int systemId, string companyId, string roleId, string roleName, string functionId, string remark, bool state) { try { int errCode = -1; string errMsg = "fail"; var result = LdCmsDbEntitiesContext.SP_Add_Sys_Role(systemId, companyId, roleId, roleName, functionId, remark, state, out errCode, out errMsg); if (errCode != 0) { throw new Exception(errMsg); } return(result > 0); } catch (Exception ex) { throw new Exception(ex.Message); } }