public MenuItemController(IMenuItemService menuItemService, IMenuService menuService, IUserRoleService userRoleService)
     : base(menuItemService)
 {
     this.menuItemService = menuItemService;
     this.menuService     = menuService;
     this.userRoleService = userRoleService;
 }
 public RoleMenusController(IRoleMenuService roleMenuService, IUnitOfWorkAsync unitOfWork, IMenuItemService menuItemService, ApplicationRoleManager roleManager)
 {
     _roleMenuService = roleMenuService;
     _menuItemService = menuItemService;
     _roleManager = roleManager;
     _unitOfWork = unitOfWork;
 }
示例#3
0
 public HomeController(ILogger <HomeController> logger, ICouponService couponService, IMenuItemService menuItemService, IAdminCategoryService categoryService)
 {
     _logger              = logger;
     this.couponService   = couponService;
     this.menuItemService = menuItemService;
     this.categoryService = categoryService;
 }
示例#4
0
 public RoleMenusController(IRoleMenuService roleMenuService, IUnitOfWorkAsync unitOfWork, IMenuItemService menuItemService, ApplicationRoleManager roleManager)
 {
     _roleMenuService = roleMenuService;
     _menuItemService = menuItemService;
     _roleManager     = roleManager;
     _unitOfWork      = unitOfWork;
 }
示例#5
0
        public RoleMenusController(IRoleMenuService roleMenuService, IUnitOfWorkAsync unitOfWork, IMenuItemService menuItemService)
        {
            _roleMenuService = roleMenuService;
            _menuItemService = menuItemService;

            _unitOfWork = unitOfWork;
        }
 public MenuItemController(IWebHostEnvironment hostingEnv, IMenuItemService menuItemService, IAdminCategoryService categoryService, IAdminSubcategoryService subcategoryService)
 {
     this.hostingEnv         = hostingEnv;
     this.menuItemService    = menuItemService;
     this.categoryService    = categoryService;
     this.subcategoryService = subcategoryService;
     MenuItemVM = InitializeAsync().Result;
 }
示例#7
0
 public LandingPageViewModel(string text, string image, IMenuItemService menuItemService, INavigationService navigationService)
 {
     Text      = new ReactiveProperty <string>(text);
     Image     = new ReactiveProperty <string>(image);
     MenuItems = menuItemService.MenuItems.Select(x =>
                                                  x.Select(y => new LandingMenuItemViewModel(y, navigationService))
                                                  ).ToReadOnlyReactiveProperty(Enumerable.Empty <LandingMenuItemViewModel>());
 }
示例#8
0
 public MainMenuViewModel(string headerText, string footerText, IMenuItemService menuItemService, INavigationService navigationService)
 {
     HeaderText = new ReactiveProperty <string>(headerText);
     FooterText = new ReactiveProperty <string>(footerText);
     MenuItems  = menuItemService.MenuItems.Select(x =>
                                                   x.Select(y => new MainMenuItemViewModel(y, navigationService))
                                                   ).ToReadOnlyReactiveProperty(Enumerable.Empty <MainMenuItemViewModel>());
 }
示例#9
0
 public MenuItemController(IMenuService menuService, IMenuItemService menuItemService, IPageService pageService, IPostService postService, IRoleService roleService)
 {
     _menuService     = menuService;
     _menuItemService = menuItemService;
     _pageService     = pageService;
     _postService     = postService;
     _roleService     = roleService;
 }
示例#10
0
 public MenuItemsController(
     NLog.ILogger logger,
     IMenuItemService menuItemService, IUnitOfWorkAsync unitOfWork)
 {
     this.logger          = logger;
     this.menuItemService = menuItemService;
     this.unitOfWork      = unitOfWork;
 }
 public AdminController(ICuisineService cuisineService,
                        IRestaurantService restaurantService,
                        IMenuItemService menuItemService)
 {
     _cuisineService    = cuisineService;
     _restaurantService = restaurantService;
     _menuItemService   = menuItemService;
 }
示例#12
0
 public FaqController(IFaqService faqService, IMenuItemService menuItemService, IBusinessZoneService businessZoneService, IMenuCategoryService menuCategoryService, ISecurityUserService securityUserService)
 {
     _faqService          = faqService;
     _menuItemService     = menuItemService;
     _businessZoneService = businessZoneService;
     _menuCategoryService = menuCategoryService;
     _securityUserService = securityUserService;
 }
 public RestaurantsController(IRestaurantService restaurantService,
                              ICuisineService cuisineService,
                              IMenuItemService menuItemService)
 {
     _restaurantService = restaurantService;
     _cuisineService    = cuisineService;
     _menuItemService   = menuItemService;
 }
 public MenuItemViewModelService(
     IMenuItemService menuItemService,
     IUnitOfWork unitOfWork,
     IMapper mapper)
 {
     _menuItemService = menuItemService;
     _unitOfWork      = unitOfWork;
     _mapper          = mapper;
 }
示例#15
0
 public MenuItemController(
       IMenuItemService menuItemService
     , IFoodService foodService
     , IMenuService menuService)
 {
     _menuItemService = menuItemService;
     _foodService = foodService;
     _menuService = menuService;
 }
示例#16
0
 public OrderController(IOrderService orderService, IMenuScheduleService menuScheduleService, IMenuItemService menuItemService, IBusinessZoneService businessZoneService, IMenuCategoryService menuCategoryService, ISecurityUserService securityUserService)
 {
     _menuItemService     = menuItemService;
     _menuScheduleService = menuScheduleService;
     _businessZoneService = businessZoneService;
     _menuCategoryService = menuCategoryService;
     _securityUserService = securityUserService;
     _orderService        = orderService;
 }
示例#17
0
 public NavigationController(IMenuService menuService, IMenuItemService menuItemService, IModelMapper modelMapper, IContentPageService contentPageService, IProductService productService, ICategoryService categoryService)
 {
     _menuService        = menuService;
     _menuItemService    = menuItemService;
     _modelMapper        = modelMapper;
     _contentPageService = contentPageService;
     _productService     = productService;
     _categoryService    = categoryService;
 }
示例#18
0
 public HomeController(ILogger <HomeController> logger, ICategoryService categoryService
                       , IMenuItemService menuItemService, ICouponService couponService
                       , IShoppingCartService shoppingCartService)
 {
     _logger = logger;
     this.categoryService     = categoryService;
     this.menuItemService     = menuItemService;
     this.couponService       = couponService;
     this.shoppingCartService = shoppingCartService;
 }
示例#19
0
 public MenuItemsController(IMenuItemService service, IHostingEnvironment hostEnv)
 {
     _service   = service;
     _hostEnv   = hostEnv;
     MenuItemVm = new MenuItemViewModel
     {
         Category = _service.GetCategory(),
         MenuItem = new Models.Menu.MenuItem()
     };
 }
 public MenuItemsController(IMenuItemService menuItemService,
                            IWebHostEnvironment webHostEnvironment,
                            ILogger <MenuItemsController> logger,
                            IUnitOfWork unitOfWork)
 {
     this.menuItemService = menuItemService;
     this.unitOfWork      = unitOfWork;
     _logger             = logger;
     _webHostEnvironment = webHostEnvironment;
 }
示例#21
0
 public MenuViewModel(
     IEventAggregator eventAggregator,
     ILog log,
     IMenuItemService menuItemService)
     : base(eventAggregator, log)
 {
     MenuItemService = menuItemService;
     MenuItems       = new ObservableCollection <MenuItemModel>();
     BindingOperations.EnableCollectionSynchronization(MenuItems, menuItemsLocker);
     InitializeMenuItems();
 }
示例#22
0
 public NavigationController(IMenuService menuService, IMenuItemService menuItemService, IModelMapper modelMapper, IContentPageService contentPageService, IProductService productService, ICategoryService categoryService, ICategoryAccountant categoryAccountant, IDataSerializer dataSerializer)
 {
     _menuService        = menuService;
     _menuItemService    = menuItemService;
     _modelMapper        = modelMapper;
     _contentPageService = contentPageService;
     _productService     = productService;
     _categoryService    = categoryService;
     _categoryAccountant = categoryAccountant;
     _dataSerializer     = dataSerializer;
 }
 public PartialViewController(ISliderService sliderService, ISecurityUserService securityUserService, IMenuScheduleService menuScheduleService, IAddressService addressService, IAboutUsService aboutUsService, IMenuItemService menuItemService, IBusinessZoneService businessZoneService, IMenuCategoryService menuCategoryService, IBusinessAreaService businessAreaService)
 {
     _securityUserService = securityUserService;
     _menuItemService     = menuItemService;
     _aboutUsService      = aboutUsService;
     _businessZoneService = businessZoneService;
     _menuCategoryService = menuCategoryService;
     _businessAreaService = businessAreaService;
     _addressService      = addressService;
     _menuScheduleService = menuScheduleService;
     _sliderService       = sliderService;
 }
示例#24
0
 public FoodController(IBusinessAreaService businessAreaService, ISubZoneService subZoneService, IAddressService addressService, IOrderService orderService, IMenuScheduleService menuScheduleService, IMenuItemService menuItemService, IBusinessZoneService businessZoneService, IMenuCategoryService menuCategoryService, ISecurityUserService securityUserService)
 {
     _businessAreaService = businessAreaService;
     _menuItemService     = menuItemService;
     _subZoneService      = subZoneService;
     _menuScheduleService = menuScheduleService;
     _businessZoneService = businessZoneService;
     _menuCategoryService = menuCategoryService;
     _securityUserService = securityUserService;
     _orderService        = orderService;
     _addressService      = addressService;
 }
示例#25
0
 public MenuItemController(IMenuItemService menuItemService,
                             IMenuItemRepository menuItemRepository,
                             ICrudRepository<MenuItemType> menuItemTypeRepository,
     IUnitOfWork<MenuItemContext> menuItemUnitOfWork, ICurrentUser currentUser)
 {
     //db = new MenuItemContext();
     this._menuItemService = menuItemService;
     this._menuItemRepository = menuItemRepository;
     this._menuItemTypeRepository = menuItemTypeRepository;
     this._menuItemUnitOfWork=menuItemUnitOfWork;
     this._currentUser = currentUser;
 }
示例#26
0
 public BreadcrumbFilter(IWorkContextAccessor workContextAccessor,
                         IMenuItemService menuItemService,
                         IMenuService menuService,
                         UrlHelper urlHelper,
                         ShellSettings shellSettings)
 {
     this.workContextAccessor = workContextAccessor;
     this.menuItemService     = menuItemService;
     this.menuService         = menuService;
     this.urlHelper           = urlHelper;
     this.shellSettings       = shellSettings;
 }
示例#27
0
 public MenuItemController(IWebHostEnvironment hostEnvironment, IMenuItemService menuItemService,
                           ICategoryService categoryService, ISubCategoryService subCategoryService)
 {
     this.hostEnvironment    = hostEnvironment;
     this.menuItemService    = menuItemService;
     this.categoryService    = categoryService;
     this.subCategoryService = subCategoryService;
     this.model = new MenuItemViewModel()
     {
         Categories = categoryService.GetAllCategories().Result.ToList(),
         MenuItem   = new Models.MenuItem(),
     };
 }
示例#28
0
 public CartController(IShoppingCartService shoppingCartService
                       , IMenuItemService menuItemService
                       , ICouponService couponService
                       , IUserService userService
                       , IOrderService orderService
                       , Services.IEmailSender emailSender)
 {
     this.shoppingCartService = shoppingCartService;
     this.menuItemService     = menuItemService;
     this.couponService       = couponService;
     this.userService         = userService;
     this.orderService        = orderService;
     this.emailSender         = emailSender;
 }
示例#29
0
        public RoleMenusController(
            IRoleMenuService roleMenuService,
            IUnitOfWork unitOfWork,
            IMenuItemService menuItemService,
            UserManager <ApplicationUser> userManager,
            RoleManager <IdentityRole> roleManager
            )
        {
            _roleMenuService = roleMenuService;
            _menuItemService = menuItemService;

            _unitOfWork      = unitOfWork;
            this.userManager = userManager;
            this.roleManager = roleManager;
        }
示例#30
0
 public DashboardController(IMenuItemService menuItemService, IDashboardService dashboardService,
                             IMenuItemRepository menuItemRepository,
                             IDashboardRepository dashboardRepository,
     //IDashboardUserRepository dashboardUserRepository,
                             IApplicationUserRepository ApplicationUserRepository,
                             ICrudRepository<SharedWith> sharedWithRepository,
                             ICrudRepository<DashboardType> dashboardTypeRepository,
       IUnitOfWork<DashboardContext> dashboardUnitOfWork, ICurrentUser currentUser)
 {
     //db = new SJiraContext();
     this._menuItemService = menuItemService;
     this._menuItemRepository = menuItemRepository;
     this._dashboardRepository = dashboardRepository;
     this._dashboardService = dashboardService;
     //this._dashboardUserRepository = dashboardUserRepository;
     this._ApplicationUserRepository = ApplicationUserRepository;
     this._sharedWithRepository = sharedWithRepository;
     this._dashboardTypeRepository = dashboardTypeRepository;
     this._dashboardUnitOfWork = dashboardUnitOfWork;
     this._currentUser = currentUser;
 }
示例#31
0
 public PageController(
     IWorkContextAccessor workContextAccessor,
     IPageService pageService,
     IExtensionManager extensionManager,
     IMenuService menuService,
     IMenuItemService menuItemService,
     ShellDescriptor descriptor,
     ILanguageManager languageManager,
     IPageTagService pageTagService,
     IHistoricPageService historicPageService)
     : base(workContextAccessor)
 {
     this.pageService         = pageService;
     this.extensionManager    = extensionManager;
     this.menuService         = menuService;
     this.menuItemService     = menuItemService;
     this.descriptor          = descriptor;
     this.languageManager     = languageManager;
     this.pageTagService      = pageTagService;
     this.historicPageService = historicPageService;
 }
 public MenuItemsController(IMenuItemService menuItemService, IUnitOfWorkAsync unitOfWork)
 {
     _menuItemService = menuItemService;
     _unitOfWork = unitOfWork;
 }
示例#33
0
 public LibraryController(ILibraryService libraryService, IDepartmentService departmentService, IMenuItemService menuItemService)
     : base(menuItemService)
 {
     this.libraryService    = libraryService;
     this.departmentService = departmentService;
 }
 public HomeController(ISessionAppService sessionAppService, IMenuItemService menuService)
 {
     _menuService = menuService;
     _sessionAppService = sessionAppService;
 }
示例#35
0
 public HomeController(IMenuItemService userService)
 {
     _userService = userService;
     _menuService = userService;
 }
示例#36
0
 public DetailsModel(IMenuItemService menuItemService)
 {
     this.menuItemService = menuItemService;
 }
示例#37
0
 public MaterialTypeController(IMaterialTypeService materialTypeService, IMenuItemService menuItemService)
     : base(menuItemService)
 {
     this.materialTypeService = materialTypeService;
 }
示例#38
0
 public MenuController(IMenuItemService menuItemService)
 {
     _menuItemService = menuItemService;
 }