public PurchasesController(IPurchaseRepo repository, IProductService prodServ, IHttpClientFactory factory, IConfiguration config) { _repository = repository; _productServ = prodServ; _clientFactory = factory; _config = config; }
public SaleController(ISaleRepo saleRepo, IPurchaseRepo purchaseRepo) { _saleRepo = saleRepo; _purchaseRepo = purchaseRepo; }
public PurchaseController(IPurchaseRepo purchaseRepo) { _purchaseRepo = purchaseRepo; }