public async Task <IActionResult> ChangePasswordForUser( [FromBody] ChangePasswordForUserDto model, CancellationToken token) { await _mediator.Send(new ChangePasswordForUserCommand(model), token); return(Ok()); }
public ChangePasswordForUserCommand(ChangePasswordForUserDto model) { Model = model; }