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();
 }
Esempio n. 2
0
 public ProfitLogic(IRepository <Product> _ProductRepo, IRepository <Batch> _ProductInStoreRepo, IRepository <Transaction> _TransactiontRepo, IRepository <Auction> _AuctionRepo, IRepository <ProductToBeAuctioned> _ProductToBeAuctionedRepo, IRepository <Loss> _LossRepo, IRepository <AuctionTransactionStatus> _AuctionTransactionStatusRepo) :
     base(_ProductRepo, _ProductInStoreRepo, _TransactiontRepo, _AuctionRepo, _ProductToBeAuctionedRepo, _LossRepo, _AuctionTransactionStatusRepo)
 {
     LossLogic = new LossLogic(_ProductRepo, _ProductInStoreRepo, _TransactiontRepo, _AuctionRepo, _ProductToBeAuctionedRepo, _LossRepo, _AuctionTransactionStatusRepo);
 }