Ejemplo n.º 1
0
        public PasswordVerification Create()
        {
            PasswordVerification passwordVerification = new PasswordVerification();

            passwordVerification.ID               = GuidUtility.GetNewSequentialGuid();
            passwordVerification.CreationTime     = DateTime.UtcNow;
            passwordVerification.VerificationCode = UserUtility.GetNewVerificationCode();
            return(passwordVerification);
        }
        public UserVerification Create()
        {
            UserVerification userVerification = new UserVerification();

            userVerification.ID               = GuidUtility.GetNewSequentialGuid();
            userVerification.CreationTime     = DateTime.UtcNow;
            userVerification.VerificationCode = UserUtility.GetNewVerificationCode();
            return(userVerification);
        }