//[AuthorizeUser(RoleModule.Country, Function.View)] public JsonResult CheckCountryCodeExist(string countryCode) { bool check = false; CountryViewModel cViewModel = new CountryViewModel(); try { check = _CountryManager.CheckCountryCodeExist(countryCode); Logger.Debug("Country Controller CheckCountryCodeExist"); } catch (Exception ex) { Logger.Error("Country Controller - CheckCountryCodeExist" + ex.Message); } return(Json(check, JsonRequestBehavior.AllowGet)); }