Пример #1
0
        public JsonResult Get_Nations_By_Customer_Id(int customer_Id)
        {
            List <NationInfo> Nations = new List <NationInfo>();

            NationManager nMan = new NationManager();

            PaginationInfo pager = new PaginationInfo();

            pager.IsPagingRequired = false;

            try
            {
                Nations = nMan.Get_Nations_By_Customer_Id(customer_Id, ref pager);
            }
            catch (Exception ex)
            {
                Logger.Error("Enquiry Controller - Get_Nations_By_Customer_Id " + ex.ToString());
            }

            return(Json(Nations, JsonRequestBehavior.AllowGet));
        }