Пока для примера могу написать какими данными я инициализирую бд
Gamer g1 = new Gamer { Name = "Carson", MaxScore = 2345, GamerDate = DateTime.Parse("2017-03-09") };
Gamer g2 = new Gamer { Name = "Meredith", MaxScore = 1345, GamerDate = DateTime.Parse("2017-02-09") };
Gamer g3 = new Gamer { Name = "Arturo", MaxScore = 3454, GamerDate = DateTime.Parse("2017-03-02") };
Gamer g4 = new Gamer { Name = "Gytis", MaxScore = 1000, GamerDate = DateTime.Parse("2017-03-09") };
Gamer g5 = new Gamer { Name = "Yan", MaxScore = 222, GamerDate = DateTime.Parse("2017-03-09") };
Gamer g6 = new Gamer { Name = "Peggy", MaxScore = 4567, GamerDate = DateTime.Parse("2017-03-01") };
Gamer g7 = new Gamer { Name = "Laura", MaxScore = 100, GamerDate = DateTime.Parse("2017-03-05") };
Gamer g8 = new Gamer { Name = "Nino", MaxScore = 4567, GamerDate = DateTime.Parse("2017-03-02") };
Gamer g9 = new Gamer { Name = "Cool", MaxScore = 4567, GamerDate = DateTime.Parse("2017-03-07") };
context.Gamers.Add(g1);
context.Gamers.Add(g2);
context.Gamers.Add(g3);
context.Gamers.Add(g4);
context.Gamers.Add(g5);
context.Gamers.Add(g6);
context.Gamers.Add(g7);
context.Gamers.Add(g8);
context.Gamers.Add(g9);
context.Gamers.Add(g10);
Game ga1 = new Game
{
Id = 1,
Name = "World of Tanks",
Gamers = new List<Gamer>() { g1, g2, g3, g4, g5, g6, g7, g8, g9, g11, g12, g13, g14, g15, g16, g17, g18, g19, g20, g21, g22, g23 }
};
Game ga2 = new Game
{
Id = 2,
Name = "Counter Strike",
Gamers = new List<Gamer>() { g28, g27, g26, g25, g24 }
};
API возвращает объекты в JSON из бд.
Полную структуру JSON ответа напишу вечером.