Example #1
0
 public MenuController(IMenuServices menuService, IMenuCategoryServices menuCategoryService, IViewRenderService viewRenderService, IMapper mapper)
 {
     _menuService         = menuService;
     _menuCategoryService = menuCategoryService;
     _viewRenderService   = viewRenderService;
     _mapper = mapper;
 }
 public MenuController(ICacheService cacheService, IMenuServices menuService, IMenuCategoryServices menuCategoryService, IMapper mapper)
 {
     _cacheService        = cacheService;
     _menuService         = menuService;
     _menuCategoryService = menuCategoryService;
     _mapper = mapper;
 }
Example #3
0
 public FrontMenuController(IMenuCategoryServices menuCategoryService, IMenuServices menuService, IPageMetaServices pageMetaService, IMapper mapper, IQNZDbContext db)
 {
     _menuService         = menuService;
     _menuCategoryService = menuCategoryService;
     _pageMetaService     = pageMetaService;
     _mapper = mapper;
     _db     = db;
 }
Example #4
0
 public MenuController(IMenuServices menuService, IMenuCategoryServices menuCategoryService, IMapper mapper,
                       QNZContext context, ICacheService memoryCache)
 {
     _menuService         = menuService;
     _menuCategoryService = menuCategoryService;
     //_viewRenderService = viewRenderService;
     _mapper  = mapper;
     _context = context;
     _cache   = memoryCache;
 }