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

AttributeManager() public method

public AttributeManager ( long dataStructureId, bool showConstraints = false ) : System.Web.Mvc.ActionResult
dataStructureId long
showConstraints bool
return System.Web.Mvc.ActionResult
        public ActionResult AttributeManager(long dataStructureId = 0, bool showConstraints = false)
        {
            ViewBag.Title = PresentationModel.GetViewTitleForTenant("Manage Variable Templates", this.Session.GetTenant());
            if (Session["Window"] == null)
                Session["Window"] = false;
            if(dataStructureId == 0)
                return View(new DataAttributeManagerModel(showConstraints));
            else
                return View(new DataAttributeManagerModel(dataStructureId, showConstraints));
        }