public async Task <NoContentResult> PostPasswordAsync([FromBody] PostPasswordModel model, CancellationToken cancellationToken) { await fSender.Send(new PostPasswordRequest(model), cancellationToken); return(NoContent()); }
public PostPasswordRequest(PostPasswordModel model) { Model = model ?? throw new System.ArgumentNullException(nameof(model)); }