コード例 #1
0
 public DiscountController(ICommandBus commandBus, IDiscountQueryService discountQueryService, IProductQueryService productQueryService, IStoreQueryService storeQueryService)
 {
     _commandBus           = commandBus;
     _discountQueryService = discountQueryService;
     _productQueryService  = productQueryService;
     _storeQueryService    = storeQueryService;
 }
コード例 #2
0
 public StoreController(IStoreQueryService storeQueryService,
                        ILocationQueryService locationQueryService,
                        IDiscountQueryService discountQueryService,
                        ICommandBus commandBus)
 {
     _storeQueryService    = storeQueryService;
     _locationQueryService = locationQueryService;
     _discountQueryService = discountQueryService;
     _commandBus           = commandBus;
 }
コード例 #3
0
 public DiscountController(IDiscountQueryService discountQueryService, ICommandBus commandBus)
 {
     _discountQueryService = discountQueryService;
     _commandBus           = commandBus;
 }