public MainContainerPage()
        {
            InitializeComponent();
            LoadingService.SetLoadingCallBack(() => Loading.IsLoading = true,
                                              () => Loading.IsLoading = false);
            NavigationService.Register((page, parameter) =>
            {
                contentFrame.Navigate(page, parameter, new DrillInNavigationTransitionInfo());
            },
                                       page =>
            {
                if (contentFrame.CanGoBack)
                {
                    contentFrame.BackStack.Remove(contentFrame.BackStack.ElementAt(contentFrame.BackStack.Count - 1));
                }
                contentFrame.Navigate(page, null, new DrillInNavigationTransitionInfo());
            },
                                       () =>
            {
                if (contentFrame.CanGoBack)
                {
                    contentFrame.BackStack.Remove(contentFrame.BackStack.ElementAt(contentFrame.BackStack.Count - 1));
                }
            },
                                       () =>
            {
                Application.Current.Exit();
            });


            Loaded += OnLoaded;
        }