Example #1
0
 public async Task <IActionResult> PostSecret([FromServices] HttpPostRegisterSecret command)
 {
     if (command == null)
     {
         throw new ArgumentNullException(nameof(command));
     }
     _LoggerRegisterSecret.WriteStartSecret();
     return(await command.ExecuteAsync());
 }