Beispiel #1
0
        private void OnSeparar(object sender, EventArgs e)
        {
            CarneDAO dao = new CarneDAO();

            dao.Separar(CarnePronta);

            Navigation.PopAsync();
        }
Beispiel #2
0
        private void OnSalvar2(object sender, EventArgs e)
        {
            CarnePronta carne = new CarnePronta();

            carne.Descricao = DescricaoEntry.Text;
            carne.Nome      = NomeEntry.Text;
            carne.Preco     = PrecoEntry.Text;

            CarneDAO dao = new CarneDAO();

            dao.Separar(carne);

            Navigation.PopAsync();
        }