Example #1
0
		public void UpdateUserCity(User user, City city)
		{
			if (user == null) throw new ArgumentNullException("user");
			if (city == null) throw new ArgumentNullException("city");

			user.City = city;

			_repository.Update(user);
		}
Example #2
0
 public void Update(User user)
 {
     _session.Update(user);
 }