Ejemplo n.º 1
0
        public async Task <IEnumerable <DetailedWeatherSummary> > GetDataAsync()
        {
            if (summary == null)
            {
                string fileContent = await fileContentProvider.GetFileContentAsync();

                summary = WeatherForecastCsvParser.Parse(fileContent);
            }
            return(await Task.FromResult(summary));
        }