public RequaredInventoryController(IRequaredInventoryService requaredInventoryService)
 {
     _requaredInventoryService = requaredInventoryService ?? throw new ArgumentException(nameof(requaredInventoryService));
 }
Exemplo n.º 2
0
 public OfficesController(IOfficeService officeService, IRequaredInventoryService requaredInventory)
 {
     _officeService            = officeService ?? throw new ArgumentNullException(nameof(officeService));
     _requaredInventoryService = requaredInventory ?? throw new  ArgumentNullException(nameof(requaredInventory));
 }