public static void Eliminar(Framework.Models.Rol rol) { try { var br = new Rules.Rol(); br.Eliminar(rol.IdRol); } catch (Exception ex) { throw (ex); } }
public static Framework.Models.Rol Obtener(int Id) { try { var br = new Rules.Rol(); return(br.GetById(Id)); } catch (Exception ex) { throw (ex); } }
public static void Insertar(Framework.Models.Rol rol) { try { var br = new Rules.Rol(); br.Insertar(rol); } catch (Exception ex) { throw (ex); } }