/// <summary> /// Gets the cities. /// </summary> /// <param name="departmentID">The department identifier.</param> /// <returns></returns> public OutDepartments GetCities(int departmentID) { OutDepartments data = new OutDepartments(); try { ParametersDAO dao = new ParametersDAO(); data = dao.GetCities(departmentID); } catch (Exception ex) { //escribir en el log LogHelper.WriteLog("Models", "ManagerParameters", "GetCities", ex, ""); } return(data); }
/// <summary> /// Gets the neighborhood. /// </summary> /// <param name="municipalityID">The municipality identifier.</param> /// <returns></returns> public OutDepartments GetNeighborhood(int municipalityID) { OutDepartments data = new OutDepartments(); try { ParametersDAO dao = new ParametersDAO(); data = dao.GetNeighborhood(municipalityID); } catch (Exception ex) { //escribir en el log LogHelper.WriteLog("Models", "ManagerParameters", "GetNeighborhood", ex, ""); } return(data); }
public OutExecutiveLevel GetExecutiveLevel() { OutExecutiveLevel data = new OutExecutiveLevel(); try { ParametersDAO dao = new ParametersDAO(); data = dao.GetExecutiveLevel(); } catch (Exception ex) { //escribir en el log LogHelper.WriteLog("Models", "ManagerParameters", "GetExecutiveLevel", ex, ""); } return(data); }
public OutParamDocuments GetLisDocuments(string documentType) { OutParamDocuments data = new OutParamDocuments(); try { ParametersDAO dao = new ParametersDAO(); data = dao.GetLisDocuments(documentType); } catch (Exception ex) { //escribir en el log LogHelper.WriteLog("Models", "ManagerParameters", "GetLisDocuments", ex, ""); } return(data); }
public OutChannelType GetChannelType() { OutChannelType data = new OutChannelType(); try { ParametersDAO dao = new ParametersDAO(); data = dao.GetChannelType(); } catch (Exception ex) { //escribir en el log LogHelper.WriteLog("Models", "ManagerParameters", "GetChannelType", ex, ""); } return(data); }
public OutCancellationCausal GetCancellationCausal() { OutCancellationCausal data = new OutCancellationCausal(); try { ParametersDAO dao = new ParametersDAO(); data = dao.GetCancellationCausal(); } catch (Exception ex) { //escribir en el log LogHelper.WriteLog("Models", "ManagerParameters", "GetCausalCancelacion", ex, ""); } return(data); }
public OutBornCities GetBornCity() { OutBornCities data = new OutBornCities(); try { ParametersDAO dao = new ParametersDAO(); data = dao.GetBornCity(); } catch (Exception ex) { //escribir en el log LogHelper.WriteLog("Models", "ManagerParameters", "GetBornCity", ex, ""); } return(data); }