#pragma warning disable CS1591 public CarParkRateCalcController(ICarParkRateCalcService service, IMapper mapper) { _service = service; _mapper = mapper; }
#pragma warning disable CS1591 public CarParkRateCalcController(ICarParkRateCalcService service, IMapper mapper, ILogger <CarParkRateCalcController> logger) { _service = service ?? throw new ArgumentNullException(nameof(service)); _mapper = mapper ?? throw new ArgumentNullException("mapper", "mapper is mandatory parameter and cannot be null");; _logger = logger ?? throw new ArgumentNullException("logger", "logger is mandatory parameter and cannot be null");; }