public PurchaseController( IProductRepository productRepository, IPurchaseRepository purchaseRepository, IPurchaseProductRepository purchaseProductRepository) { _productRepository = productRepository; _purchaseRepository = purchaseRepository; _purchaseProductRepository = purchaseProductRepository; }
public PurchaseProductRepositoryService() { IoCManagerCore.Start(); _purchaseProductRepository = IoCManagerCore.Kernel.Get<IPurchaseProductRepository>(); _wrapper = new WrapperPurchaseProduct(); }