public ProductCategoryService(
     IScopeCreator scopeCreator,
     IEntityStorage <Order> orders,
     IEntityStorage <Product> products,
     IEntityStorage <Customer> customers,
     IEntityStorage <OrderDetails> orderDetails)
 {
     _orders       = orders;
     _products     = products;
     _customers    = customers;
     _scopeCreator = scopeCreator;
     _orderDetails = orderDetails;
 }
Ejemplo n.º 2
0
 public ScopedQueryCommandServiceDecorator(IQueryCommandService <TContext> decoratedQueryCommandService, IScopeCreator lifetimeScoper)
 {
     this._decoratedQueryCommandService = decoratedQueryCommandService;
     this._lifetimeScoper = lifetimeScoper;
 }