Ejemplo n.º 1
0
        private void btnDeletarFeedback_Click(object sender, EventArgs e)
        {
            if (listViewFeedback.SelectedItems.Count == 0)
            {
                MessageBox.Show("Nenhum Feedback selecionado!", "Advertência");
                return;
            }

            FeedBackService.Deletar(GetFeedbackSelecionado());
            CarregarListaFeedback();
            MessageBox.Show("Feedback deletado com sucesso!", "Sucesso");
        }