public ActionResult Index2(Models.Constructor t) // получение выбранных атрибутов { constructor.SelectedAttributes = t.SelectedAttributes; constructor.References = constructor.GetReferences(); if (constructor.SelectedTables.Length == 1) { return(View("Index4", constructor)); } return(View("Index3", constructor)); // отображение ссылок }
public ActionResult Index2(Models.Constructor c) { TempData["ActiveConstructor"] = true; c.References = c.GetReferences(); return(View("Index3", c)); }