public JobMasterDetailPage()
        {
            JobListPage listPage = new JobListPage(jobService);
            listPage.JobList.ItemSelected += (sender, e) =>
            {
                var selectedJob = e.SelectedItem as Job;
                if (selectedJob != null)
                {
                    NavigateTo(e.SelectedItem as Job);
                }
            };

            var listNavigationPage = new MyNavigationPage(listPage);
            listNavigationPage.Title = "Appointments";
            Master = listNavigationPage;
            JobDetailsPage details = new JobDetailsPage(jobService);

            details.Content.IsVisible = false;
            Detail = new MyNavigationPage(details);
        }
        public JobMasterDetailPage()
        {
            JobListPage listPage = new JobListPage(jobService);

            listPage.JobList.ItemSelected += (sender, e) =>
            {
                var selectedJob = e.SelectedItem as Job;
                if (selectedJob != null)
                {
                    NavigateTo(e.SelectedItem as Job);
                }
            };

            var listNavigationPage = new MyNavigationPage(listPage);

            listNavigationPage.Title = "Appointments";
            Master = listNavigationPage;
            JobDetailsPage details = new JobDetailsPage(jobService);

            details.Content.IsVisible = false;
            Detail = new MyNavigationPage(details);
        }