public Result <RegionProgressRecord> QueryAndTransform() { Logger.LogInformation($"Running Query and transform."); QueryToday.TargetDate = TargetDate; var resultToday = QueryToday.DoQuery(); QueryYesterday.TargetDate = TargetDate; var resultYesterday = QueryYesterday.DoQuery(); QueryNameToday = NameConstants.RegionVaccineProgressQuery_Overview_Today; QueryNameYesterday = NameConstants.RegionVaccineProgressQuery_Overview_Yesterday; var list = PopulationDataSet.DataSet().UK().ToList(); return(Transform(list, resultToday, resultYesterday)); }
public Result <RegionRateRecord> QueryAndTransform() { Logger.LogInformation($"Running Query and transform."); QueryToday.TargetDate = TargetDate; var resultToday = QueryToday.DoQuery(); QueryYesterday.TargetDate = TargetDate; var resultYesterday = QueryYesterday.DoQuery(); QueryNameToday = NameConstants.RegionBreakdownQuery_National_Today; QueryNameYesterday = NameConstants.RegionBreakdownQuery_National_Yesterday; var list = PopulationDataSet.DataSet().HomeNations().ToList(); return(Transform(list, resultToday, resultYesterday)); }