Beispiel #1
0
    private int ResetLoginAttemps()
    {
        try
        {
            #region Reset System Attempts
            blLogin.Flag     = "ResetSystemBlock";
            blLogin.MailID   = txtAffiliateMail.Text.Trim().ToString();
            getQueryResponse = dlLogin.ResetAttemps(blLogin);
            #endregion


            #region Reset Global Block (If any)
            blLogin.Flag     = "ResetGlobalBlock";
            blLogin.MailID   = txtAffiliateMail.Text.Trim().ToString();
            getQueryResponse = dlLogin.ResetAttemps(blLogin);
            #endregion

            return(getQueryResponse);
        }
        catch
        {
            return(0);
        }
    }