Ejemplo n.º 1
0
 public void Run()
 {
     //_covidBLService.InsertLocations();
     _covidBLService.InsertCases(Metrics.CONFIRMED_CASES);
     _covidBLService.InsertCases(Metrics.DEATHS);
     _covidBLService.InsertCases(Metrics.RECOVERIES);
 }
Ejemplo n.º 2
0
        public void Run(String[] args)
        {
            //_covidBLService.InsertLocations(Locations.Global);
            _covidBLService.InsertCases(Metrics.CONFIRMED_CASES.ToBLLMetrics(), Locations.Global.ToBLLocations());
            _covidBLService.InsertCases(Metrics.DEATHS.ToBLLMetrics(), Locations.Global.ToBLLocations());
            _covidBLService.InsertCases(Metrics.RECOVERIES.ToBLLMetrics(), Locations.Global.ToBLLocations());

            //_covidBLService.InsertLocations(Locations.US);
            _covidBLService.InsertCases(Metrics.CONFIRMED_CASES.ToBLLMetrics(), Locations.US.ToBLLocations());
            _covidBLService.InsertCases(Metrics.DEATHS.ToBLLMetrics(), Locations.US.ToBLLocations());
        }