Example #1
0
 public async Task UpdateCard(Card card)
 {
     _context.Entry(card).State = EntityState.Modified;
     await _context.SaveChangesAsync();
 }
Example #2
0
 public async Task UpdateGamePlayer(GamePlayer player)
 {
     _context.Entry(player).State = EntityState.Modified;
     await _context.SaveChangesAsync();
 }
Example #3
0
 public async Task UpdateGame(Game game)
 {
     _context.Entry(game).State = EntityState.Modified;
     await _context.SaveChangesAsync();
 }