public JsonResult GetDistrictsByDivisionId(int?divisionId)
        {
            if (divisionId == null)
            {
                return(null);
            }

            var districts = _districtManager.GetDistrictsById((int)divisionId);

            return(Json(districts, JsonRequestBehavior.AllowGet));
        }
        public JsonResult GetDistrictsByDivisionId(int?divisionId)
        {
            try
            {
                if (divisionId == null)
                {
                    return(null);
                }

                var districts = _districtManager.GetDistrictsById((int)divisionId);
                return(Json(districts, JsonRequestBehavior.AllowGet));
            }
            catch (Exception ex)
            {
                ExceptionMessage(ex);
                return(null);
            }
        }