public async Task <IActionResult> Create([FromBody] CreateReq req) { if (string.IsNullOrWhiteSpace(req.Key)) { return(NotFound("Method Dictionary/Create params")); } Logger.LogInformation($"Create dictionary key: {req.Key}"); await _service.Create(req.Key).ConfigureAwait(false); return(Ok()); }