Пример #1
0
 public User(User user)
 {
     UserID = user.UserID;
     Login = user.Login;
     Password = user.Password;
     FIO = user.FIO;
     Gender = user.Gender;
     Photo = user.Photo;
     Birthday = user.Birthday;
     Residence = user.Residence;
     AboutHimself = user.AboutHimself;
     UserRights = user.UserRights;
 }
Пример #2
0
 public UserViewModel(User user)
 {
     User = new User(user);
 }