public static void RemoveLoginErrorCount(this IAuthenticationService workContext) { workContext.SetLoginErrorCount(0); WebTools.DelCookie(Cookies.LoginErrorCount); }