private void SetStateWithSetupError() { HasError = true; ValidationResult = new RequestValidationResult( "ConnectorDiagnosticsRedirect", redirectUrl: "https://api2.queue-it.net/diagnostics/connector/error/?code=setup" ); }
private void SetStateWithTokenError(string customerId, string errorCode) { HasError = true; ValidationResult = new RequestValidationResult( "ConnectorDiagnosticsRedirect", redirectUrl: string.Format("https://{0}.api2.queue-it.net/{0}/diagnostics/connector/error/?code={1}", customerId, errorCode) ); }