public async Task <IActionResult> Get(int limit = 1) { try { logger.LogInformation("Get limit {0}", limit); return(new ObjectResult(await keyValueRepository.GetKeyValuesAsync(limit))); } catch (Exception ex) { logger.LogError("Get {0}", ex.Message); } return(StatusCode(500)); }