Exemplo n.º 1
0
 public CreateProductCommand(Product product, IProductDataProxy productDataProxy, InventoryItemService inventoryService, ITransactionContext transactionContext)
 {
     CurrentProduct      = product;
     _productDataProxy   = productDataProxy;
     _inventoryService   = inventoryService;
     _transactionContext = transactionContext;
 }
Exemplo n.º 2
0
 public OrderItemClientService(IOrderItemDataProxy dataProxy,
                               IProductDataProxy productDataProxy,
                               IInventoryItemDataProxy inventoryDataProxy,
                               ITransactionContext transactionContext) : base(dataProxy, productDataProxy, inventoryDataProxy, transactionContext)
 {
     _inventoryDataProxy = inventoryDataProxy;
     _transactionContext = transactionContext;
 }
Exemplo n.º 3
0
 public OrderItemClientService(IOrderItemDataProxy dataProxy,
                               IProductDataProxy productDataProxy,
                               IInventoryItemDataProxy inventoryDataProxy,
                               ITransactionContext transactionContext) : base(dataProxy, productDataProxy, inventoryDataProxy, transactionContext)
 {
     _inventoryDataProxy = inventoryDataProxy;
     _transactionContext = transactionContext;
 }
Exemplo n.º 4
0
 public OrderItemService(IOrderItemDataProxy dataProxy,
                         IProductDataProxy productDataProxy,
                         InventoryItemService inventoryService,
                         ITransactionContext transactionContext) : base(dataProxy)
 {
     _productDataProxy   = productDataProxy;
     _inventoryService   = inventoryService;
     _transactionContext = transactionContext;
 }
Exemplo n.º 5
0
 public DeleteProductCommand(long productID,
                             IProductDataProxy productDataProxy,
                             IInventoryItemService inventoryService,
                             IOrderService orderService,
                             ITransactionContext transactionContext)
 {
     _productID          = productID;
     _productDataProxy   = productDataProxy;
     _inventoryService   = inventoryService;
     _orderService       = orderService;
     _transactionContext = transactionContext;
 }
Exemplo n.º 6
0
 public DeleteProductCommand(long productID,
                             IProductDataProxy productDataProxy,
                             IInventoryItemService inventoryService,
                             IOrderService orderService,
                             ITransactionContext transactionContext)
 {
     _productID = productID;
     _productDataProxy = productDataProxy;
     _inventoryService = inventoryService;
     _orderService = orderService;
     _transactionContext = transactionContext;
 }
Exemplo n.º 7
0
 public ProductService(IProductDataProxy dataProxy, IOrderService orderService, IInventoryItemService inventoryService, ITransactionContext transactionContext) : base(dataProxy)
 {
     _orderService       = orderService;
     _inventoryService   = inventoryService;
     _transactionContext = transactionContext;
 }
Exemplo n.º 8
0
 public CanDeleteCategoryRule(long categoryID, IProductDataProxy productsDataProxy) 
 {
     _categoryID = categoryID;
     _productsDataProxy = productsDataProxy;
 }
Exemplo n.º 9
0
 public CategoryService(ICategoryDataProxy dataProxy, IProductDataProxy productsDataProxy) : base(dataProxy)
 {
     _productsDataProxy = productsDataProxy;
 }
Exemplo n.º 10
0
 public ProductClientService(IProductDataProxy dataProxy, IOrderDataProxy orderDataProxy, IInventoryItemService inventoryService, ITransactionContext transactionContext) : base(dataProxy, orderDataProxy, inventoryService, transactionContext)
 {
 }
Exemplo n.º 11
0
 public CanDeleteCategoryRule(long categoryID, IProductDataProxy productsDataProxy)
 {
     _categoryID        = categoryID;
     _productsDataProxy = productsDataProxy;
 }
Exemplo n.º 12
0
 public ProductClientService(IProductDataProxy dataProxy, IOrderDataProxy orderDataProxy, IInventoryItemService inventoryService, ITransactionContext transactionContext) : base(dataProxy, orderDataProxy, inventoryService, transactionContext)
 {
 }