public override void Redirect(string location, bool permanent) { RedirectAction?.Invoke(location, permanent); }