コード例 #1
0
 public GetBusHandler(IBusRepository busRepository, IBusMapper customerDxos)
 {
     this._busRepository = busRepository;
     _customerDxos       = customerDxos ?? throw new ArgumentNullException(nameof(customerDxos));
 }
コード例 #2
0
 public UpdateBusHandler(IBusRepository busRepository, IMediator mediator, IBusMapper customerDxos)
 {
     this._busRepository = busRepository;
     _mediator           = mediator ?? throw new ArgumentNullException(nameof(mediator));
 }