public ActionResult DeleteCountry(int countryId) { #region Check Rights bool hasRights = false; hasRights = AdminHelper.CheckUserAction(ScreenEnum.CountriesLibrary, ActionEnum.Delete); if (!hasRights) { return(Json("You are UnAuthorized to do this action")); } #endregion return(Json(LibraryCommonHelper.DeleteCountry(countryId))); }