Exemplo n.º 1
0
 protected User(string email, string password)
 {
     this.Id           = Guid.NewGuid();
     this.Email        = email;
     this.PasswordHash = PasswordHelper.CreateHashCode(password);
     this.IpAddress    = IPHelper.GetIpAddress();
     this.CreatedOn    = DateTime.Now;
     this.UserType     = TypeOfUser.Registred;
 }