public async void TestForGetLeagues()
        {
            var options = new DbContextOptionsBuilder <LeagueContext>()
                          .UseInMemoryDatabase(databaseName: "p3LeagueControllerGetLeagues")
                          .Options;

            using (var context = new LeagueContext(options))
            {
                context.Database.EnsureDeleted();
                context.Database.EnsureCreated();

                Repo             r                = new Repo(context, new NullLogger <Repo>());
                Logic            logic            = new Logic(r, new NullLogger <Repo>());
                LeagueController leagueController = new LeagueController(logic);
                var league = new League
                {
                    LeagueID   = Guid.NewGuid(),
                    LeagueName = "louge",
                    SportID    = 51
                };

                r.Leagues.Add(league);
                await r.CommitSave();

                var getLeagues = await leagueController.GetLeagues();

                Assert.IsAssignableFrom <IEnumerable <League> >((getLeagues as OkObjectResult).Value);
            }
        }