예제 #1
0
        public async Task UpdateSync(Match match)
        {
            _context.Matches.First(s => s.MatchId == match.MatchId);
            _context.Update(match);

            await _context.SaveChangesAsync();
        }
예제 #2
0
        public async Task UpdateSync(Player player)
        {
            _context.Players.First(s => s.PlayerId == player.PlayerId);
            _context.Update(player);

            await _context.SaveChangesAsync();
        }