public virtual ActionResult App(string appAlias) { //create the model to return var model = new BackOfficeDefaultModel { //Applications = apps, TreeModel = new TreeRenderModel(Url.GetTreeUrl(appAlias)) { ManuallyInitialize = true }, //DefaultDashboardEditor = editor, CurrentApplicationAlias = appAlias, MenuItems = _menuItems.Select(x => x.Value) }; return(View("Index", model)); }
public virtual ActionResult App(string appAlias) { //create the model to return var model = new BackOfficeDefaultModel { //Applications = apps, TreeModel = new TreeRenderModel(Url.GetTreeUrl(appAlias)) { ManuallyInitialize = true }, //DefaultDashboardEditor = editor, CurrentApplicationAlias = appAlias, MenuItems = _menuItems.Select(x => x.Value) }; return View("Index", model); }