You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
610 B
24 lines
610 B
using LibEntityFramework;
|
|
using Model;
|
|
using TrucAuMilieu;
|
|
|
|
|
|
ChampionEntity c1 = new ChampionEntity("champion1", "il est beau", "imagepng.jpeg");
|
|
Champion c2 = new Champion("joe");
|
|
Console.WriteLine("allo?");
|
|
|
|
var dataMgr = new DataBdd();
|
|
|
|
//dataMgr.ChampionsMgr.AddItem(c2);
|
|
|
|
List<Champion> list = dataMgr.ChampionsMgr.GetItems(0, dataMgr.ChampionsMgr.GetNbItems().Result).Result.ToList();
|
|
|
|
|
|
|
|
/*ChampionContext data = new ChampionContext();
|
|
|
|
data.Champs.ToList();
|
|
List<ChampionEntity> l = data.listChampions();*/
|
|
|
|
foreach (var champion in list) { Console.WriteLine(champion.Name); }
|