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