public InventoriesController(InventoriesRepository inventoriesRepository, InventoryInputsRepository inventoryInputsRepository, ProductsRepository productsRepository, InventoryOutputsRepository inventoryOutputsRepository, ProductModificationsRepository productModificationsRepository, UnitsRepository unitsRepository) { _inventoriesRepository = inventoriesRepository; _inventoryInputsRepository = inventoryInputsRepository; _productsRepository = productsRepository; _inventoryOutputsRepository = inventoryOutputsRepository; _productModificationsRepository = productModificationsRepository; _unitsRepository = unitsRepository; }
public ProductsController(ProductsRepository productsRepository, InventoriesRepository inventoriesRepository, SuppliersRepository suppliersRepository, ProductTypesRepository productTypesRepository, UnitsRepository unitsRepository, InventoryInputsRepository inventoryInputsRepository, ProductModificationsRepository productModificationsRepository) { _productsRepository = productsRepository; _inventoriesRepository = inventoriesRepository; _productTypesRepository = productTypesRepository; _suppliersRepository = suppliersRepository; _unitsRepository = unitsRepository; _inventoryInputsRepository = inventoryInputsRepository; _productModificationsRepository = productModificationsRepository; }