public LatestBetsPageViewModel(INavigationService navigationService)
 {
     _navigationService = navigationService;
     pn = new PageNav(_navigationService);
     ActiveNavCommand   = new RelayCommand(pn.ActiveNav);
     LatestNavCommand   = new RelayCommand(pn.LatestNav);
     PreviousNavCommand = new RelayCommand(pn.PreviousNav);
     MakeNavCommand     = new RelayCommand(pn.MakeBetNav);
     ProfileNavCommand  = new RelayCommand(pn.ProfileNav);
 }
        public PreviousBetsViewModel(INavigationService navigationService)
        {
            _navigationService = navigationService;
            pn = new PageNav(_navigationService);
            ActiveNavCommand   = new RelayCommand(pn.ActiveNav);
            LatestNavCommand   = new RelayCommand(pn.LatestNav);
            PreviousNavCommand = new RelayCommand(pn.PreviousNav);
            MakeNavCommand     = new RelayCommand(pn.MakeBetNav);
            ProfileNavCommand  = new RelayCommand(pn.ProfileNav);

            RefreshCommand = new RelayCommand(Refresh);


            PreviousBetinglist = pb.Previous();
        }