public async Task UpdateExperienceAsync(Experience experience) { _context.Entry(experience).State = EntityState.Modified; await _context.SaveChangesAsync(); }
public async Task UpdateUserInfoAsync(User user) { _context.Entry(user).State = EntityState.Modified; await _context.SaveChangesAsync(); }