public VendingService(IHardwareAccess hardwareAccess)
 {
     Hardware = hardwareAccess;
 }
Example #2
0
 public VendingMachineController(ILogger <VendingMachineController> logger, IHardwareAccess hardware)
 {
     _logger   = logger;
     _hardware = hardware;
 }