Пример #1
0
 public DishController(IDishService dishservice, IUserService userservice, IDishTypeService dishtypeservice, IImageService imageservice)
 {
     DishSvc = dishservice;
     UserSvc = userservice;
     DishTypeSvc = dishtypeservice;
     ImageSvc = imageservice;
 }
Пример #2
0
 public ManageController(
     IDishTypeService dishTypeService,
     IIngredientService ingredientService,
     IDishService dishService,
     IDrinkTypeService drinkTypeService,
     IPackagingService packagingService,
     IAllergenService allergenService,
     IWebHostEnvironment webHostEnvironment,
     IDrinkService drinkService,
     IUserService userService,
     IOrderService orderService,
     ITableService tableService,
     IPromoCodeService promoCodeService)
 {
     this.dishTypeService    = dishTypeService;
     this.ingredientService  = ingredientService;
     this.dishService        = dishService;
     this.drinkTypeService   = drinkTypeService;
     this.packagingService   = packagingService;
     this.allergenService    = allergenService;
     this.webHostEnvironment = webHostEnvironment;
     this.drinkService       = drinkService;
     this.userService        = userService;
     this.orderService       = orderService;
     this.tableService       = tableService;
     this.promoCodeService   = promoCodeService;
 }
Пример #3
0
 public HomeController(
     IDishTypeService dishTypeService,
     IDrinkTypeService drinkTypeService
     )
 {
     this.dishTypeService  = dishTypeService;
     this.drinkTypeService = drinkTypeService;
 }
Пример #4
0
 public PromoCodeService(
     IDishTypeService dishTypeService,
     IDrinkTypeService drinkTypeService,
     IDeletableEntityRepository <PromoCode> promoCodeRepository)
 {
     this.dishTypeService     = dishTypeService;
     this.drinkTypeService    = drinkTypeService;
     this.promoCodeRepository = promoCodeRepository;
 }
Пример #5
0
 public MenuController(
     IDrinkTypeService drinkTypeService,
     IDishTypeService dishTypeService,
     IDishService dishService,
     IDrinkService drinkService,
     ICommentService commentService)
 {
     this.drinkTypeService = drinkTypeService;
     this.dishTypeService  = dishTypeService;
     this.dishService      = dishService;
     this.drinkService     = drinkService;
     this.commentService   = commentService;
 }
Пример #6
0
 public DishService(
     IDeletableEntityRepository <Dish> dishRepository,
     IIngredientService ingredientService,
     IFileService fileService,
     IDishTypeService dishTypeService,
     IImageService imageService)
 {
     this.dishRepository    = dishRepository;
     this.ingredientService = ingredientService;
     this.fileService       = fileService;
     this.dishTypeService   = dishTypeService;
     this.imageService      = imageService;
 }
Пример #7
0
 public OrderService(
     IDeletableEntityRepository <Order> orderRepository,
     IBasketService basketService,
     ITableService tableService,
     IDishTypeService dishTypeService,
     IPromoCodeService promoCodeService,
     IOrderDishService orderDishService,
     IOrderDrinkService orderDrinkService
     )
 {
     this.orderRepository   = orderRepository;
     this.basketService     = basketService;
     this.tableService      = tableService;
     this.dishTypeService   = dishTypeService;
     this.promoCodeService  = promoCodeService;
     this.orderDishService  = orderDishService;
     this.orderDrinkService = orderDrinkService;
 }
Пример #8
0
 public HomeController(IDishTypeService dishtypeservice, IUserService userservice, IDishService dishservice)
 {
     DishTypeSvc = dishtypeservice;
     UserSvc = userservice;
     DishSvc = dishservice;
 }