示例#1
0
        public async Task <IEnumerable <ComparisonResult> > CompareCharts(IEnumerable <Chart> charts)
        {
            var results = new List <ComparisonResult>();

            foreach (var chart in charts)
            {
                results.Add(await _chartRepository.Compare(chart));
            }
            return(results);
        }