Пример #1
0
		public LayoutUserViewModel(User user, string roleName, Action<LayoutUserViewModel> isActiveChanged)
		{
			_isActiveChanged = isActiveChanged;
			User = user;
			RoleName = roleName;
			Update();
		}
Пример #2
0
 public UserViewModel(User user)
 {
     User = user;
 }