public async Task CancelRide(int driverId, int id, [FromBody] CancelRideCommand command)
 {
     command.SetArguments(driverId, id);
     await Mediator.Send(command);
 }
Exemple #2
0
 public async Task CancelCurrentRide(int customerId, int id, [FromBody] CancelRideCommand command)
 {
     command.SetArguments(customerId, id);
     await Mediator.Send(command);
 }