Exemplo n.º 1
0
 public void GuardarRol(Rol rol)
 {
     try
     {
         miRolDatos = new RolDatos();
         miRolDatos.GuardarRol(rol);
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
 public List <Rol> ObtenerRoles(Dictionary <string, object> filtros)
 {
     try
     {
         miRolDatos = new RolDatos();
         return(miRolDatos.ObtenerRoles(filtros));
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 3
0
 public void EliminarRol(int codigoRol)
 {
     miRolDatos = new RolDatos();
     miRolDatos.EliminarRol(codigoRol);
 }