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.
38 lines
876 B
38 lines
876 B
// See https://aka.ms/new-console-template for more information
|
|
|
|
|
|
using Api_lol.Factories;
|
|
using Client;
|
|
using DTO;
|
|
using EntityFramwork;
|
|
using EntityFramwork.Factories;
|
|
using Model;
|
|
using StubLib;
|
|
|
|
|
|
StubData tmp = new StubData();
|
|
StubEntityInit dbStub = new StubEntityInit();
|
|
dbStub.Init();
|
|
|
|
/*
|
|
Console.WriteLine("Start");
|
|
Console.ReadLine();
|
|
|
|
ClientChampions client = new ClientChampions();
|
|
List<DtoChampions> 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<DtoChampions> champions2 = await client.Get();
|
|
Console.WriteLine(champions2.Count);
|
|
DtoChampions champ2 = await client.GetChampion("toto");
|
|
Console.WriteLine(champ2.name);
|
|
|
|
Console.WriteLine("End");
|
|
Console.ReadLine();
|
|
*/ |