Exemplo n.º 1
0
        public ActionResult Delete(int id)
        {
            bool rpta = ventaservice.Delete(id);

            if (rpta)
            {
                return(RedirectToAction("Index"));
            }
            return(View());
        }
Exemplo n.º 2
0
 public bool Delete(int ID)
 {
     return(VentaService.Delete(ID));
 }