示例#1
0
        public OzzUser ToUser()
        {
            var user = new OzzUser
            {
                UserName  = this.UserName,
                Email     = this.Email,
                FirstName = this.FirstName,
                LastName  = this.LastName
            };

            return(user);
        }
示例#2
0
 public UserViewModel(OzzUser user)
 {
     FirstName = user.FirstName;
     LastName  = user.LastName;
     Email     = user.Email;
 }