public OutExecutiveChilds GetExecutiveChilds(string executiveID, int level) { OutExecutiveChilds response = new OutExecutiveChilds(); try { ExecutiveDAO dao = new ExecutiveDAO(); response = dao.GetExecutiveChilds(executiveID, level); } catch (Exception ex) { //escribir en el log LogHelper.WriteLog("Models", "ManageExecutive", "GetExecutiveChilds", ex, ""); } return(response); }
public OutExecutiveInformation GetExecutiveInformation(string executiveID, double asesor) { OutExecutiveInformation response = new OutExecutiveInformation(); try { ExecutiveDAO dao = new ExecutiveDAO(); response = dao.GetExecutiveInformation(executiveID, asesor); } catch (Exception ex) { //escribir en el log LogHelper.WriteLog("Models", "ManageExecutive", "GetExecutiveInformation", ex, ""); } return(response); }
public Response UpdateExecutive(InUpdateExecutive input) { InUpdateExecutive userData = new InUpdateExecutive(); Response response = new Response(); try { ExecutiveDAO dao = new ExecutiveDAO(); response = dao.UpdateExecutive(input); } catch (Exception ex) { //escribir en el log LogHelper.WriteLog("Models", "ManageExecutive", "UpdateExecutive", ex, ""); } return(response); }