Пример #1
0
 public ShoppingCartService(
     IShoppingCartRepository shoppingCartRepository,
     ICustomerRepositoryQuery customerRepositoryQuery)
 {
     _shoppingCartRepository  = shoppingCartRepository;
     _customerRepositoryQuery = customerRepositoryQuery;
 }
 public GetDiscountService(ICustomerRepositoryQuery repositoryQuery)
 {
     _repositoryQuery = repositoryQuery;
 }
 public GetCustomerDataService(ICustomerRepositoryQuery repositoryQuery)
 {
     _repositoryQuery = repositoryQuery;
 }
 public IsValidCustomerService(ICustomerRepositoryQuery customerRepositoryQuery)
 {
     _customerRepositoryQuery = customerRepositoryQuery;
 }
Пример #5
0
 public OrderService(IOrderRepositoryQuery orderRepositoryQuery, ICustomerRepositoryQuery customerRepositoryQuery)
 {
     _orderRepositoryQuery    = orderRepositoryQuery;
     _customerRepositoryQuery = customerRepositoryQuery;
 }