Ejemplo n.º 1
0
        public EndUser ReturnWithoutSensitiveData()
        {
            var userWithoutSensitiveData = new EndUser(this);

            userWithoutSensitiveData.Email    = null;
            userWithoutSensitiveData.Password = null;
            userWithoutSensitiveData.Salt     = null;
            return(userWithoutSensitiveData);
        }
Ejemplo n.º 2
0
 public EndUser(EndUser user)
 {
     Id             = user.Id;
     Name           = user.Name;
     LastName       = user.LastName;
     Email          = user.Email;
     Password       = user.Password;
     Salt           = user.Salt;
     IsActive       = user.IsActive;
     DateJoined     = user.DateJoined;
     Role           = user.Role;
     EmailConfirmed = user.EmailConfirmed;
 }