Exemplo n.º 1
0
 public ActionResult Delete(int id, FormCollection collection)
 {
     try
     {
         // TODO: Add delete logic here
         dd.DeleteDocument(id);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }