BootstrapAdmin/Bootstrap.Admin/Models/NavigatorBarModel.cs

19 lines
468 B
C#
Raw Normal View History

2016-10-21 16:35:26 +08:00
using Bootstrap.DataAccess;
using System.Collections.Generic;
using System.Linq;
2016-10-21 16:35:26 +08:00
namespace Bootstrap.Admin.Models
{
public class NavigatorBarModel : HeaderBarModel
{
public NavigatorBarModel()
{
Menus = MenuHelper.RetrieveMenus().ToList();
Menus.ForEach(m => m.Active = null);
2016-10-21 16:35:26 +08:00
}
/// <summary>
///
/// </summary>
public List<Menu> Menus { get; set; }
}
2016-10-20 17:55:29 +08:00
}