public PairsController(ICommandQueryDispatcherDecorator commandQueryDispatcherDecorator, IMapper mapper, ICorrelationContext correlationContext)
 {
     _commandQueryDispatcherDecorator = commandQueryDispatcherDecorator ?? throw new ArgumentNullException(nameof(commandQueryDispatcherDecorator));
     _mapper             = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _correlationContext = correlationContext ?? throw new ArgumentNullException(nameof(correlationContext));
 }
Beispiel #2
0
 public UsersController(ICommandQueryDispatcherDecorator commandQueryDispatcherDecorator, IMapper mapper)
 {
     _commandQueryDispatcherDecorator = commandQueryDispatcherDecorator ?? throw new ArgumentNullException(nameof(commandQueryDispatcherDecorator));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }