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.
18 lines
367 B
18 lines
367 B
// See https://aka.ms/new-console-template for more information
|
|
using DataManagers;
|
|
using Model;
|
|
|
|
Console.WriteLine("Hello, World!");
|
|
|
|
|
|
using (var db = new DbDataManager(new EFLib.LolContext()))
|
|
{
|
|
IEnumerable<Champion?> champions = await db.ChampionsMgr.GetItems(0, 10);
|
|
|
|
foreach (Champion c in champions)
|
|
{
|
|
Console.WriteLine(c.Name);
|
|
}
|
|
}
|
|
|