コード例 #1
0
ファイル: OrderBusiness.cs プロジェクト: PaulShovan/dobi
 public OrderBusiness(IOrderRepository orderRepository,
                      IPromoOfferBusiness promoOfferBusiness,
                      IUserMessageBusiness userMessageBusiness,
                      INotificationRepository notificationRepository)
 {
     _orderRepository        = orderRepository;
     _promoBusiness          = promoOfferBusiness;
     _userMessageBusiness    = userMessageBusiness;
     _notificationRepository = notificationRepository;
 }
コード例 #2
0
 public OrderController(IOrderBusiness orderBusiness,
                        ILocationService locationService,
                        IOrderServiceBusiness orderServiceBusiness,
                        IPromoOfferBusiness promoOfferBusiness,
                        IOrderRepository orderRepository,
                        IDeviceStatusBusiness deviceStatusBusiness)
 {
     _orderBusiness        = orderBusiness;
     _orderServiceBusiness = orderServiceBusiness;
     _locationService      = locationService;
     _promoOfferBusiness   = promoOfferBusiness;
     _tokenGenerator       = new TokenGenerator();
     _orderRepository      = orderRepository;
     _deviceStatusBusiness = deviceStatusBusiness;
 }
コード例 #3
0
 public PromoOfferController(IPromoOfferBusiness promoOfferBusiness)
 {
     _promoOfferBusiness = promoOfferBusiness;
 }