public ChartLogic(IRepository <Product> _ProductRepo, IRepository <Batch> _ProductInStoreRepo, IRepository <Transaction> _TransactiontRepo, IRepository <Auction> _AuctionRepo, IRepository <ProductToBeAuctioned> _ProductToBeAuctionedRepo, IRepository <Loss> _LossRepo, IRepository <AuctionTransactionStatus> _AuctionTransactionStatusRepo, ProfitLogic _ProfitL, SalesLogic _SalesL, LossLogic _LossL, AuctionLogic _AuctionL) : base(_ProductRepo, _ProductInStoreRepo, _TransactiontRepo, _AuctionRepo, _ProductToBeAuctionedRepo, _LossRepo, _AuctionTransactionStatusRepo) { ProfitLogic = _ProfitL; SalesLogic = _SalesL; LossLogic = _LossL; AuctionLogic = _AuctionL; ChartsRenderer = new ChartsRenderer(); }
public AuctionLogic(IRepository <Product> _ProductRepo, IRepository <Batch> _ProductInStoreRepo, IRepository <Transaction> _TransactiontRepo, IRepository <Auction> _AuctionRepo, IRepository <ProductToBeAuctioned> _ProductToBeAuctionedRepo, IRepository <Loss> _LossRepo, IRepository <AuctionTransactionStatus> _AuctionTransactionStausRepo, SalesLogic _SalesL) : base(_ProductRepo, _ProductInStoreRepo, _TransactiontRepo, _AuctionRepo, _ProductToBeAuctionedRepo, _LossRepo, _AuctionTransactionStausRepo) { SalesLogic = _SalesL; }