// See https://aka.ms/new-console-template for more information using Client; using DTO; using EntityFramwork; using EntityFramwork.Factories; using Model; using StubLib; StubData tmp = new StubData(); var tmpListe = await tmp.ChampionsMgr.GetItemsByName("Akali", 0, 6); Champion champ = tmpListe.First(); Factories facto = new Factories(); using ( BDDContext db = new BDDContext()) { db.SaveChanges(); } /* Console.WriteLine("Start"); Console.ReadLine(); ClientChampions client = new ClientChampions(); List champions = await client.Get(); DtoChampions champ = await client.GetChampion("Akali"); Console.WriteLine(champions.Count); Console.WriteLine(champ.name); DtoChampions dtoTest = new DtoChampions("toto"); await client.Post(dtoTest); List champions2 = await client.Get(); Console.WriteLine(champions2.Count); DtoChampions champ2 = await client.GetChampion("toto"); Console.WriteLine(champ2.name); Console.WriteLine("End"); Console.ReadLine(); */