コード例 #1
0
        public async Task UpdateExperienceAsync(Experience experience)
        {
            _context.Entry(experience).State = EntityState.Modified;

            await _context.SaveChangesAsync();
        }
コード例 #2
0
        public async Task UpdateUserInfoAsync(User user)
        {
            _context.Entry(user).State = EntityState.Modified;

            await _context.SaveChangesAsync();
        }