コード例 #1
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;
 }
コード例 #2
0
 public HomeController(
     IDishTypeService dishTypeService,
     IDrinkTypeService drinkTypeService
     )
 {
     this.dishTypeService  = dishTypeService;
     this.drinkTypeService = drinkTypeService;
 }
コード例 #3
0
 public PromoCodeService(
     IDishTypeService dishTypeService,
     IDrinkTypeService drinkTypeService,
     IDeletableEntityRepository <PromoCode> promoCodeRepository)
 {
     this.dishTypeService     = dishTypeService;
     this.drinkTypeService    = drinkTypeService;
     this.promoCodeRepository = promoCodeRepository;
 }
コード例 #4
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;
 }
コード例 #5
0
ファイル: DrinkService.cs プロジェクト: thunder913/TechToranT
 public DrinkService(
     IDeletableEntityRepository <Drink> drinkRepository,
     IIngredientService ingredientService,
     IFileService fileService,
     IDrinkTypeService drinkTypeService,
     IImageService imageService)
 {
     this.drinkRepository   = drinkRepository;
     this.ingredientService = ingredientService;
     this.fileService       = fileService;
     this.drinkTypeService  = drinkTypeService;
     this.imageService      = imageService;
 }