Beispiel #1
0
        public ActionResult Remove(int id)
        {
            var vendasDAO = new VendasDAO();
            var venda     = vendasDAO.Buscar(id);

            vendasDAO.Remover(venda);
            return(RedirectToAction("Index"));
        }