public async Task UpdateExperienceAsync(Experience experience)
        {
            _context.Entry(experience).State = EntityState.Modified;

            await _context.SaveChangesAsync();
        }
Exemplo n.º 2
0
        public async Task UpdateUserInfoAsync(User user)
        {
            _context.Entry(user).State = EntityState.Modified;

            await _context.SaveChangesAsync();
        }