public ActionResult GetFavorites([FromQuery] int?count = 10) { _logger.LogDebug($"Get favorite integers. Count: {count}"); var favorites = _monitoringService.Favorites(count.Value).Result; return(Ok(favorites)); }