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; }
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; }