Exemplo n.º 1
0
 public StockController(IStockService stockService,
                        IStockSearchService stockSearchService,
                        IStockCategoryService stockCategoryService,
                        IStockPropertyService stockPropertyService,
                        IExcelDataHaveColumnExporter dataExporter,
                        ICommandPipeProvider commandPipeProvider,
                        IStockWrapper[] stockWrappers,
                        IGoodsSearchService goodsSearchService)
 {
     _stockService            = stockService;
     _stockSearchService      = stockSearchService;
     _stockCategoryService    = stockCategoryService;
     _dataExporter            = dataExporter;
     _stockPropertyService    = stockPropertyService;
     _stockWrappers           = stockWrappers;
     _goodsSearchService      = goodsSearchService;
     base.CommandPipeProvider = commandPipeProvider;
 }
Exemplo n.º 2
0
 public SearchStocks(IStockSearchService searchService, string searchPattern, ICollection<StockSearchModel> foundStocks)
 {
     this.searchPattern = searchPattern;
     this.foundStocks = foundStocks;
     this.searchService = searchService;
 }
Exemplo n.º 3
0
 public SearchStocks(IStockSearchService searchService, string searchPattern, ICollection <StockSearchModel> foundStocks)
 {
     this.searchPattern = searchPattern;
     this.foundStocks   = foundStocks;
     this.searchService = searchService;
 }