public MenuEntriesListViewModel GetMenusForUser(string username) { var menus = new MenuEntriesListViewModel(); menus.Title = "Main Navigation"; menus.Add(new MenuEntriesViewModel() { Controller = "Home", Action = "Index", Text = "Home" }); return menus; }
public MenuEntriesViewModel() { Childs = new MenuEntriesListViewModel(); }