Example #1
0
 private void SeedTestItems(LeagueDraftDbContext context)
 {
     context.Items.AddRange(GetTestItems());
     context.SaveChanges();
 }
Example #2
0
 private void SeedTestPositions(LeagueDraftDbContext context)
 {
     context.Positions.AddRange(GetPositions());
     context.SaveChanges();
 }
 private void SeedTestSummonerSpells(LeagueDraftDbContext context)
 {
     context.SummonerSpells.AddRange(GetSummonerSpells());
     context.SaveChanges();
 }