Beispiel #1
0
 public DishesController(IDishService service, IDishCategoryService categoryService, IDeliveryAreaService areaService, IScheduleService scheduleService)
 {
     _service         = service;
     _categoryService = categoryService;
     _areaService     = areaService;
     _scheduleService = scheduleService;
 }
 public DishCategoriesController(
     IDishCategoryService service,
     IHostingEnvironment hostingEnvironment, IScheduleService scheduleService)
 {
     _service            = service;
     _hostingEnvironment = hostingEnvironment;
     _scheduleService    = scheduleService;
 }
Beispiel #3
0
 public OrdersController(
     IOrderService service,
     IAccountService accountService,
     IHubContext <NotifyHub> hubContext,
     UserManager <AppUser> userManager,
     IDishService dishService,
     IDishCategoryService dishCatService,
     IScheduleService scheduleService
     )
 {
     _service         = service;
     _accountService  = accountService;
     _hubContext      = hubContext;
     _userManager     = userManager;
     _dishService     = dishService;
     _dishCatService  = dishCatService;
     _scheduleService = scheduleService;
 }
 public DishCategoryController(IDishCategoryService dishService, IErrorService errorService, IHistoryService historyService) : base(errorService, historyService)
 {
     this.dishService = dishService;
 }