Esempio n. 1
0
 public MaterialAmountReportController(IWebSession webSession, ILog log, IMaterialLevelsLoader levelsLoader,
                                       IMaterialRepository materialRepository, IInventoryWatchRepository inventoryWatchRepository, IMaterialThresholdRepository materialThresholdRepository, IUnitRepository unitRepository) : base(webSession, log)
 {
     m_levelsLoader                = levelsLoader;
     m_materialRepository          = materialRepository;
     m_inventoryWatchRepository    = inventoryWatchRepository;
     m_materialThresholdRepository = materialThresholdRepository;
     m_unitRepository              = unitRepository;
 }
Esempio n. 2
0
 public MaterialLevelsLoader(ISession session, IDatabase database, AmountProcessor amountProcessor,
                             IUnitRepository unitRepository, IMaterialThresholdRepository thresholdRepository, ICache cache, IMaterialRepository materialRepository, IInventoryWatchRepository inventoryWatchRepository)
 {
     m_session             = session;
     m_database            = database;
     m_amountProcessor     = amountProcessor;
     m_unitRepository      = unitRepository;
     m_thresholdRepository = thresholdRepository;
     m_cache = cache;
     m_materialRepository       = materialRepository;
     m_inventoryWatchRepository = inventoryWatchRepository;
 }