public TrolleyTotalController(ILogger <TrolleyTotalController> logger, IMapper mapper, ITrolleyCalculator TrolleyCalculator) { _logger = logger; _mapper = mapper; _TrolleyCalculator = TrolleyCalculator; }
public TrolleyCalculatorServiceTests() { _trolleyCalculator = new TrolleyCalculatorService(); }
public TrolleyController(ITrolleyCalculator trolleyCalculator, ILogger <TrolleyController> logger) { this.trolleyCalculator = trolleyCalculator ?? throw new System.ArgumentNullException(nameof(trolleyCalculator)); this.logger = logger ?? throw new System.ArgumentNullException(nameof(logger)); }
public TrolleyCalculatorController(ITrolleyCalculator trolleyCalculator, ILogger logger) { _logger = logger; _trolleyCalculator = trolleyCalculator; }
public TrolleyTotalController(ITrolleyCalculator trolleyCalculator) { _trolleyCalculator = trolleyCalculator; }
public TrolleyController(ITrolleyCalculator calculatorService) { _calculatorService = calculatorService; }