//[AuthorizeUser(RoleModule.City, Function.View)] public JsonResult CheckCityCodeExist(string citycode) { bool check = false; CityViewModel cViewModel = new CityViewModel(); try { check = _cManager.CheckCityCodeExist(citycode); Logger.Debug("City Controller CheckCityCodeExist"); } catch (Exception ex) { Logger.Error("City Controller - CheckCityCodeExist" + ex.Message); } return(Json(check, JsonRequestBehavior.AllowGet)); }