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;
 }