/// <summary> /// Редактор переменных /// </summary> /// <returns></returns> public ActionResult EditVariables() { var vars = UtilManager.GetVariables(); ViewBag.AllowSave = string.Compare(HttpContext.User.Identity.Name, SuperAdmin, true) == 0; return(View(vars)); }