private void PopulateCommandBar()
        {
            PageService.AddCommandBarButton(CommandBarButton.Separator);

            PageService.AddCommandBarButton(new CommandBarButton
            {
                Icon    = new SymbolIcon(Symbol.Add),
                Label   = Common.GetLocalizedText("SelectAllButtonText"),
                Handler = SelectAllButton_Click,
            });

            PageService.AddCommandBarButton(new CommandBarButton
            {
                Icon    = new SymbolIcon(Symbol.Clear),
                Label   = Common.GetLocalizedText("UnselectAllButtonText"),
                Handler = UnselectAllButton_Click,
            });

            if (AppService.AuthManager.IsAadProviderAvailable())
            {
                PageService.AddCommandBarButton(new CommandBarButton
                {
                    Icon    = new SymbolIcon(Symbol.Mail),
                    Label   = Common.GetLocalizedText("EmailSelectedButtonText"),
                    Handler = EmailLogsButton_Click,
                });
            }

            PageService.AddCommandBarButton(new CommandBarButton
            {
                Icon    = new SymbolIcon(Symbol.Delete),
                Label   = Common.GetLocalizedText("DeleteSelectedButtonText"),
                Handler = DeleteLogsButton_Click,
            });

            PageService.AddSecondaryCommandBarButton(new CommandBarButton
            {
                Icon    = new SymbolIcon(Symbol.Help),
                Label   = Common.GetLocalizedText("HelpButtonText"),
                Handler = HelpButton_Click,
            });
        }