public void PushState(string pageId, Dictionary <string, object> parameters = null)
        {
            var baseUrl = NavigationUtility.BuildBaseUrl(pageId);

            Window.History.PushState(null, string.Empty,
                                     parameters != null
                    ? $"{baseUrl}={Global.Btoa(JSON.Stringify(parameters))}" : baseUrl);
        }
        public void PushState(string pageId, Dictionary <string, object> parameters = null)
        {
            var baseUrl = NavigationUtility.BuildBaseUrl(pageId);

            Window.History.PushState(null, string.Empty,
                                     parameters != null
                    ? $"{baseUrl}{BuildQueryParameter(parameters)}" : baseUrl);
        }