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; }
public ScopedQueryCommandServiceDecorator(IQueryCommandService <TContext> decoratedQueryCommandService, IScopeCreator lifetimeScoper) { this._decoratedQueryCommandService = decoratedQueryCommandService; this._lifetimeScoper = lifetimeScoper; }