Beispiel #1
0
        async void Alterar_Clicked(object sender, EventArgs e)
        {
            p_nome      = nome.Text;
            p_descricao = descricao.Text;
            p_status    = status.Text;

            if (tarefaDao.AlterarTarefa(p_nome, p_descricao, p_status))
            {
                Console.WriteLine("Tarefa Alterada");
                await Navigation.PushAsync(new MasterDetailTarefaProfessor());
            }
            else
            {
                Console.WriteLine("Erro ao Alterar a Tarefa");
            }
        }