BExIS.Web.Shell.Areas.RPM.Controllers.DataAttributeController.openAttributeWindow C# (CSharp) Method

openAttributeWindow() public method

public openAttributeWindow ( long id, bool showConstraints = false ) : System.Web.Mvc.ActionResult
id long
showConstraints bool
return System.Web.Mvc.ActionResult
        public ActionResult openAttributeWindow(long id, bool showConstraints = false)
        {
            if (id != 0)
            {

                Session["nameMsg"] = null;
                Session["Window"] = true;
                return RedirectToAction("AttributeManager", new { dataStructureId = id, showConstraints = showConstraints });
            }
            else
            {
                Session["nameMsg"] = null;
                Session["Window"] = true;
                return RedirectToAction("AttributeManager", new { dataStructureId = 0, showConstraints = showConstraints });
            }
        }