// GET: MacroAreaAjax
        public ActionResult Index()
        {
            eMacroAreaM obj = new eMacroAreaM();

            obj.StateList = BL_tblMacroAreaM.StateList(obj.iStateId, obj.iCountryId);
            obj.CityList  = BL_tblMacroAreaM.CityList(obj.iCityId, obj.iStateId, obj.iCountryId);
            return(View(obj));
        }
        public ActionResult Edit(int id)
        {
            eMacroAreaM obj = new eMacroAreaM();

            obj                   = BL_tblMacroAreaM.GetSingleRecordById(id);
            obj.StateList         = BL_tblMacroAreaM.StateList(obj.iStateId, obj.iCountryId);
            obj.CityList          = BL_tblMacroAreaM.CityList(obj.iCityId, obj.iStateId, obj.iCountryId);
            ViewBag.OpenEditModel = "Y";
            return(PartialView("Index", obj));
        }