public POSController(IPOSService posService, IMapper mapper) { if (posService == null) { throw new ArgumentNullException(nameof(posService)); } if (mapper == null) { throw new ArgumentNullException(nameof(mapper)); } this.mapper = mapper; this.posService = posService; }
/// <summary> /// Initializes a new instance of the <see cref="POSParameterCategoryController"/> class. /// </summary> /// <param name="posService">The POS service.</param> /// <param name="logger">The logger.</param> public POSParameterCategoryController(IPOSService posService, ILoggerExtension logger) { this.posService = posService; this.logger = logger; }
public POSController(IPOSService posService, IMapper mapper) { this.mapper = mapper; this.posService = posService; }
/// <summary> /// Initializes a new instance of the <see cref="POSController"/> class. /// </summary> /// <param name="posService">The POS service.</param> /// <param name="logger">The logger.</param> public POSController(IPOSService posService, ILoggerExtension logger) { this.posService = posService; this.logger = logger; }
public POSTerminalAPI(IPOSService service) { _service = service; }