public List <IB.SUPER.SIC.Models.ProfesionalSimple> LideresSubarea(int ta201_idsubareapreventa) { BLL.AyudaProfesionales cAP = null; try { cAP = new BLL.AyudaProfesionales(); List <IB.SUPER.SIC.Models.ProfesionalSimple> lst = cAP.LideresSubarea(ta201_idsubareapreventa); cAP.Dispose(); return(lst); } catch (Exception ex) { cAP.Dispose(); LogError.LogearError("Ocurrió un error obteniendo la lista de líderes", ex); throw new Exception(System.Uri.EscapeDataString("Ocurrió un error obteniendo la lista de líderes")); } }
public List <IB.SUPER.SIC.Models.ProfesionalSimple> PromotoresAccionPreventa(string t001_nombre, string t001_apellido1, string t001_apellido2) { BLL.AyudaProfesionales cAP = null; try { cAP = new BLL.AyudaProfesionales(); List <IB.SUPER.SIC.Models.ProfesionalSimple> lst = cAP.PromotoresAccion(t001_nombre, t001_apellido1, t001_apellido2); cAP.Dispose(); return(lst); } catch (Exception ex) { cAP.Dispose(); LogError.LogearError("Ocurrió un error obteniendo la lista de profesionales", ex); throw new Exception(System.Uri.EscapeDataString("Ocurrió un error obteniendo la lista de profesionales")); } }
public List <IB.SUPER.SIC.Models.ProfesionalSimple> LideresPreventaConAmbitoVision(string proc, string t001_nombre, string t001_apellido1, string t001_apellido2, bool admin) { BLL.AyudaProfesionales cAP = null; try { cAP = new BLL.AyudaProfesionales(); List <IB.SUPER.SIC.Models.ProfesionalSimple> lst = cAP.LideresPreventaConAmbitoVision(proc, t001_nombre, t001_apellido1, t001_apellido2, admin); cAP.Dispose(); return(lst); } catch (Exception ex) { cAP.Dispose(); LogError.LogearError("Ocurrió un error obteniendo la lista de líderes", ex); throw new Exception(System.Uri.EscapeDataString("Ocurrió un error obteniendo la lista de líderes")); } }
public static List <IB.SUPER.SIC.Models.ProfesionalSimple> UsuariosSuper() { IB.SUPER.SIC.BLL.AyudaProfesionales cAP = null; try { //SUPER.DAL.Log.Insertar("bsInicio->UsuariosSuper"); cAP = new IB.SUPER.SIC.BLL.AyudaProfesionales(); List <IB.SUPER.SIC.Models.ProfesionalSimple> lst = cAP.UsuariosSuper(HttpContext.Current.Session["IDRED"].ToString(), byte.Parse(ConfigurationManager.AppSettings["CODIGO_APLICACION"].ToString())); cAP.Dispose(); return(lst); } catch (Exception ex) { SUPER.DAL.Log.Insertar("bsInicio->UsuariosSuper->Error: " + ex.Message); cAP.Dispose(); LogError.LogearError("Ocurrió un error obteniendo la lista de profesionales", ex); throw new Exception(System.Uri.EscapeDataString("Ocurrió un error obteniendo la lista de profesionales")); } }