public async Task <ActionResult> Delete([FromRoute] Guid id, DeleteUserCommand command, CancellationToken cancellationToken) { command.SetUserId(id); await Mediator.Send(command, cancellationToken); return(Ok()); }
public async Task <ActionResult> Delete([FromRoute] Guid id, DeleteUserCommand command, CancellationToken cancellationToken) { command.SetUserId(id); await Mediator.Send(command, cancellationToken); return(Ok()); }