예제 #1
0
        public async Task <IActionResult> GenerateApiKeyAsync()
        {
            _logger.LogInformation("HttpPost GenerateApiKey started");
            var key = await _service.RegenerateApiKey();

            _logger.LogInformation("New ApiKey created");
            return(Ok(key));
        }