Example #1
0
        public ForgotPasswordViewModel IsValidateUser(ForgotPasswordViewModel model, ref int retVal)
        {
            string question = "";
            Int64  userId   = 0;

            retVal = _dal.IsUserValidPoulateQuestion(model.EmailId, ref question, ref userId);
            if (retVal == 2)
            {
                model.Question = question;
                model.UserId   = userId;
            }

            return(model);
        }
        public int IsValidateUser(string userEmail)
        {
            string question = "";
            Int64  userId   = 0;
            int    retVal;

            retVal = _dal.IsUserValidPoulateQuestion(userEmail, ref question, ref userId);
            if (retVal == 2)
            {
                //Question = question;
                //UserId = userId;
                //UserEmail = userEmail;
            }

            return(retVal);
        }