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