public async Task <IActionResult> Post(HelloWorldViewModel helloWorldViewModel) { _log.LogInformation($"[{nameof(HelloWorldController)}][{nameof(Post)}]Posted|{JsonSerializer.Serialize(helloWorldViewModel)}"); await _helloWorldAppService.RegisterAsync(helloWorldViewModel); return(Ok()); }
public async Task RegisterAsync(HelloWorldViewModel helloWorldViewModel) { await _helloWorldAppService.RegisterAsync(helloWorldViewModel); }
public async Task <IActionResult> Post(HelloWorldViewModel helloWorldViewModel) { await _helloWorldAppService.RegisterAsync(helloWorldViewModel); return(Ok()); }