Пример #1
0
 public IndexModel(ApplicationDbContext dbContext, INavMenuService navMenuService, IFileProvider fileProvider, IOptionsSnapshot <List <NavbarMenu> > navbarMenus)
 {
     _dbContext      = dbContext;
     _navMenuService = navMenuService;
     _fileProvider   = fileProvider;
     _navbarMenus    = navbarMenus;
 }
 /// <summary>
 /// 菜单管理 --- 构造
 /// </summary>
 /// <param name="navMenuService"></param>
 public NavMenuController(INavMenuService navMenuService)
 {
     _navMenuService = navMenuService;
 }
 public UINavigationController(INavMenuService navMenuService)
 {
     _navMenuService = navMenuService;
 }
Пример #4
0
 public MenuController(ApplicationDbContext context, INavMenuService navMenuService)
 {
     _context        = context;
     _NavMenuService = navMenuService;
 }