public GenericTestResult TestPassword(string passwdToTest)
        {
            GenericTestResult httpResponse = new GenericTestResult();

            httpResponse.Date   = DateTime.Now;
            httpResponse.Tester = passwdToTest;
            int  statusCode = (int)HttpStatusCode.OK;
            bool result     = GenericHelpers.CheckPasswordStrength(passwdToTest);

            httpResponse.BoolResult = result;
            httpResponse.Message    = "good password strength";
            if (result == false)
            {
                httpResponse.Message = "bad password strength";
            }
            this.HttpContext.Response.StatusCode = statusCode;
            httpResponse.StatusCode = statusCode;
            return(httpResponse);
        }