コード例 #1
0
 public OrdersController(IOrderRepository orderRepository, IOrderDetailRepository orderDetailRepository, IToppingRepository toppingRepository, IOrderSourceRepository orderSourceRepository,
                         IDrinkRepository drinkRepository, ICategoryRepository categoryRepository, IPromotionRepository promotionRepository, IPrivatePromotionRepository privatePromotionRepository,
                         IPersonRepository personRepository, IAgencyRepository agencyRepository, IOrderSourceTypeRepository orderSourceTypeRepository, IDeliveryPartnerRepository deliveryPartnerRepository,
                         IMapper mapper, IHostingEnvironment environment, IHttpContextAccessor httpContextAccessor, IPdfService pdfService)
 {
     _orderRepository            = orderRepository;
     _orderDetailRepository      = orderDetailRepository;
     _promotionRepository        = promotionRepository;
     _drinkRepository            = drinkRepository;
     _categoryRepository         = categoryRepository;
     _toppingRepository          = toppingRepository;
     _privatePromotionRepository = privatePromotionRepository;
     _personRepository           = personRepository;
     _agencyRepository           = agencyRepository;
     _orderSourceRepository      = orderSourceRepository;
     _orderSourceTypeRepository  = orderSourceTypeRepository;
     _deliveryPartnerRepository  = deliveryPartnerRepository;
     _mapper              = mapper;
     _hostingEnvironment  = environment;
     _httpContextAccessor = httpContextAccessor;
     _pdfService          = pdfService;
 }
コード例 #2
0
 public ListPrivateCodeViewComponent(IPrivatePromotionRepository privatePromotionRepository)
 {
     _privatePromotionRepository = privatePromotionRepository;
 }
コード例 #3
0
 public PrivatePromotionDrinkItemViewComponent(IPrivatePromotionRepository privatePromotionRepository, IDrinkRepository drinkRepository, IToppingRepository toppingRepository)
 {
     _privatePromotionRepository = privatePromotionRepository;
     _drinkRepository            = drinkRepository;
     _toppingRepository          = toppingRepository;
 }
コード例 #4
0
 public PrivatePromotionController(IPrivatePromotionRepository privatePromotionRepository, IDrinkRepository drinkRepository, IToppingRepository toppingRepository)
 {
     _privatePromotionRepository = privatePromotionRepository;
     _drinkRepository            = drinkRepository;
     _toppingRepository          = toppingRepository;
 }
コード例 #5
0
 public PrivatePromotionDrinkSettingViewComponent(IPrivatePromotionRepository privatePromotionRepository)
 {
     _privatePromotionRepository = privatePromotionRepository;
 }