示例#1
0
        public async Task <IActionResult> Post(HelloWorldViewModel helloWorldViewModel)
        {
            _log.LogInformation($"[{nameof(HelloWorldController)}][{nameof(Post)}]Posted|{JsonSerializer.Serialize(helloWorldViewModel)}");

            await _helloWorldAppService.RegisterAsync(helloWorldViewModel);

            return(Ok());
        }
示例#2
0
 public async Task RegisterAsync(HelloWorldViewModel helloWorldViewModel)
 {
     await _helloWorldAppService.RegisterAsync(helloWorldViewModel);
 }
示例#3
0
        public async Task <IActionResult> Post(HelloWorldViewModel helloWorldViewModel)
        {
            await _helloWorldAppService.RegisterAsync(helloWorldViewModel);

            return(Ok());
        }