public async Task UpdateSync(Player player) { _context.Players.First(s => s.PlayerId == player.PlayerId); _context.Update(player); await _context.SaveChangesAsync(); }
public async Task UpdateSync(Match match) { _context.Matches.First(s => s.MatchId == match.MatchId); _context.Update(match); await _context.SaveChangesAsync(); }