Пример #1
0
 public LayoutViewModel(JiJiaShangDB db)
 {
     menusRoot     = db.Menus.Where(w => w.MenuLevel == 1).ToList();
     menusSublevel = db.Menus.Where(w => w.MenuLevel == 2).ToList();
 }