Exemple #1
0
 public Task <TokensModel> PostPasswordLoginAsync([FromBody] PasswordLoginPostModel model, CancellationToken cancellationToken)
 {
     return(fSender.Send(new PostPasswordLoginRequest(model), cancellationToken));
 }
Exemple #2
0
 public PostPasswordLoginRequest(PasswordLoginPostModel model)
 {
     Model = model ?? throw new System.ArgumentNullException(nameof(model));
 }