Exemplo n.º 1
0
 public ActionResult Delete(int id, HIVTestResultModel Test)
 {
     try
     {
         // TODO: Add delete logic here
         var hmm = ee.GetAllTest().Find(x => x.TestId == id);
         ee.PostDelete(id);
         return(RedirectToAction("Index", new { Id = hmm.PatientId }));
     }
     catch
     {
         return(View());
     }
 }