public UserDetails(User user)
     : base(user)
 {
     this.Comments = user.Comments;
     this.SubComments = user.SubComments;
     this.Votes = user.Votes;
 }
        public User CreateUser()
        {
            User user = new User();

            user.Username = this.Username;
            user.Password = this.Password;

            return user;
        }
        public User CreateUser()
        {
            User user = new User();

            user.Username = this.Username;
            this.Password = user.Password;
            user.Comments = this.Comments;
            user.SubComments = this.SubComments;
            user.Votes = this.Votes;

            return user;
        }
 public UserModel(User user)
 {
     this.Username = user.Username;
     this.Password = user.Password;
 }