public DishController(IDishService dishservice, IUserService userservice, IDishTypeService dishtypeservice, IImageService imageservice) { DishSvc = dishservice; UserSvc = userservice; DishTypeSvc = dishtypeservice; ImageSvc = imageservice; }
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; }
public HomeController( IDishTypeService dishTypeService, IDrinkTypeService drinkTypeService ) { this.dishTypeService = dishTypeService; this.drinkTypeService = drinkTypeService; }
public PromoCodeService( IDishTypeService dishTypeService, IDrinkTypeService drinkTypeService, IDeletableEntityRepository <PromoCode> promoCodeRepository) { this.dishTypeService = dishTypeService; this.drinkTypeService = drinkTypeService; this.promoCodeRepository = promoCodeRepository; }
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; }
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; }
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; }
public HomeController(IDishTypeService dishtypeservice, IUserService userservice, IDishService dishservice) { DishTypeSvc = dishtypeservice; UserSvc = userservice; DishSvc = dishservice; }