public static async void Atualizar()
        {
            ProfessorDAO             pd = new ProfessorDAO();
            List <ProfessorCadastro> b  = new List <ProfessorCadastro>();

            AtualizarProfessores = await pd.GetProfessoresAsync();
        }
        protected async void Salvar(object sender, EventArgs e)
        {
            dataService = new ProfessorDAO();
            List <ProfessorCadastro> u          = new List <ProfessorCadastro>();
            List <ProfessorCadastro> professor  = new List <ProfessorCadastro>();
            List <Turma>             listaTurma = new List <Turma>();
            ProfessorCadastro        p          = new ProfessorCadastro();

            u = await dataService.GetProfessoresAsync();

            int               z            = u.Count();
            Turma             t            = new Turma();
            TurmaProfessorDao tpd          = new TurmaProfessorDao();
            ProfessorTurma    prturma      = null;
            var               checkedItems = urna.Where(x => x.IsChecked == true).ToList();

            foreach (var item in checkedItems)
            {
                int k = checkedItems.Count();
                // await DisplayAlert(bixa, "Foi o item Selecionado ", "OK");

                //chama o service para incluir a conta via API
                TurmaDao service = new TurmaDao();
                int      c       = 0;

                string bixa = item.Serie;
                t.Serie    = bixa;
                listaTurma = await servicao.GetId_TurmaAsync(t);

                item.Id_Turma = listaTurma[c].Id_Turma;
                Id_Turma      = item.Id_Turma;
                c++;
                prturma = new ProfessorTurma();
                prturma.Id_Professor = Id_Professor;
                prturma.Id_Turma     = Id_Turma;
                prturma.Serie        = bixa;

                await tpd.AddTurmaProfessorAsync(prturma);

                item.IsChecked = false;
            }
            ;



            await PopupNavigation.Instance.PushAsync(new PopPupSucesso());

            Combobox();
        }
        public async void Combobox()
        {
            dataService = new ProfessorDAO();
            List <ProfessorCadastro> u         = new List <ProfessorCadastro>();
            List <ProfessorCadastro> professor = new List <ProfessorCadastro>();
            ProfessorCadastro        p         = new ProfessorCadastro();

            u = await dataService.GetProfessoresAsync();

            int z = u.Count();

            for (int i = 0; i < z; i++)
            {
                string t = u[i].Nome.ToString();

                Picker.Items.Add(t);
            }
        }