Exemplo n.º 1
0
 public ActionResult DeleteSale(int Id)
 {
     using (IPL db = new PL())
     {
         if (db.DeleteSale(Id))
         {
             return(RedirectToAction("ShowAllSales", "Admin"));
         }
     }
     return(View());
 }