Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
        /// <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);
        }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
        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);
        }
Ejemplo n.º 5
0
        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);
        }
Ejemplo n.º 6
0
        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);
        }
Ejemplo n.º 7
0
        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);
        }