Ejemplo n.º 1
0
 private Task <bool> CollectGameStats()
 {
     return(Task.Run(() =>
     {
         bool result = false;
         Console.WriteLine("Start FootballDataManager.");
         FootballDataManager manager = new FootballDataManager();
         try
         {
             manager.SaveAllFileLinks();
         }
         catch (Exception ex)
         {
             Console.WriteLine($"[CollectGameStats] Exception: {ex.Message}");
         }
         Console.WriteLine("Stop FootballDataManager.");
         return result;
     }));
 }
Ejemplo n.º 2
0
        static void TestFootballDataManager()
        {
            FootballDataManager manager = new FootballDataManager();

            manager.ProcessAllLinks();
        }