public InventoryController( IInventoryViewModelFactory inventoryViewModelFactory, IHazardousSubstancesService hazardousSubstancesService, IHazardousSubstanceViewModelFactory hazardousSubstanceViewModelFactory) { _inventoryViewModelFactory = inventoryViewModelFactory; _hazardousSubstancesService = hazardousSubstancesService; _hazardousSubstanceViewModelFactory = hazardousSubstanceViewModelFactory; }
public InventoryManagementViewModel([Import] IInventoryRepository contextRepository, [Import] IInventoryViewModelFactory inventoryViewModelFactory, [Import] IPdfFactory pdfFactory) { m_Repository = contextRepository; m_InventoryViewModelFactory = inventoryViewModelFactory; m_PdfFactory = pdfFactory; FlyoutActivated = true; Reload(); }