public DataTable sp_updt_funcionesBLL(FuncionesBO funciones) { DataTable dt = new DataTable(); try { dt = new FuncionesDAL().sp_updt_funcionesDAL(funciones); } catch (Exception ex) { throw ex; } return(dt); }
public string CrearFuncion(Funciones funciones) { FuncionesDAL funcionesDAL = new FuncionesDAL(); bool CrearFuncion = funcionesDAL.CrearFuncion(funciones); if (CrearFuncion) { return("Funcion Creada correctamente"); } else { return("La funcion no se creo"); } }
public DataTable sp_sel_funcionIDBLL(int fun_cod) { DataTable dt = new DataTable(); try { dt = new FuncionesDAL().sp_sel_funcionIDDAL(fun_cod); } catch (Exception ex) { throw ex; } return(dt); }
public DataTable Consultar() { FuncionesDAL cargosDal = new FuncionesDAL(); return(cargosDal.Consultar()); }
public bool Eliminar(Funciones funciones) { FuncionesDAL funcionesDAL = new FuncionesDAL(); return(funcionesDAL.Eliminar(funciones)); }
public bool Actualizar(Funciones funciones) { FuncionesDAL funcionesDAL = new FuncionesDAL(); return(funcionesDAL.Actualizar(funciones)); }