//---Metodo de Consulta de Roles public DataTable BuscarRoles(string sRolName) { Lucky.Data.Common.Application.DRoles odsroles = new Lucky.Data.Common.Application.DRoles(); ERoles oeroles = new ERoles(); DataTable dtroles = odsroles.ObtenerRoles(sRolName); odsroles = null; return(dtroles); }
//Metdo para Actualizacion de Roles public ERoles ActualizaRol(string sRolid, string sRolName, string sRolDescription, bool bRolStatus, string sRolModiBy, string sRolDateModiBy) { Lucky.Data.Common.Application.DRoles odacroles = new Lucky.Data.Common.Application.DRoles(); ERoles oeroles = odacroles.ActulizarRoles(sRolid, sRolName, sRolDescription, bRolStatus, sRolModiBy, sRolDateModiBy); odacroles = null; return(oeroles); }
//----Metodo para registrar Roles public ERoles RegistrarRoles( string sRol_id, string sRolName, string sRolDescription, bool bRolStatus, string sRolCreateBy, string sRolDateBy, string sRolModiBy, string sRolDateModiBy) { Lucky.Data.Common.Application.DRoles odrroles = new Lucky.Data.Common.Application.DRoles(); ERoles oeroles = odrroles.RegistrarRolesPK(sRol_id, sRolName, sRolDescription, bRolStatus, sRolCreateBy, sRolDateBy, sRolModiBy, sRolDateModiBy); odrroles = null; return(oeroles); }