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