Example #1
0
 public static bool Eliminar(int IdRol)
 {
     return(MapperRol.EliminarRol(IdRol));
 }
Example #2
0
 public static bool Modificar(int IdRol, string nombre, string descrip, string tipoRol)
 {
     return(MapperRol.ActualizarRol(IdRol, nombre, descrip, tipoRol));
 }
Example #3
0
 public static DataSet Listar()
 {
     return(MapperRol.ListarRoles());
 }
Example #4
0
 public static bool Agregar(string nombre, string descrip, string tipoRol)
 {
     return(MapperRol.InsertarRol(nombre, descrip, tipoRol));
 }
Example #5
0
 public static List <Rol> ObtenerListadoRoles()
 {
     return(MapperRol.ListarRoles());
 }