Ejemplo n.º 1
0
 public ActionResult DeleteDoctor(int id)
 {
     try
     {
         Doctor doctor = new Doctor();
         doctor.DoctorID   = id;
         doctor.ModifiedBy = 1;
         dr.DeleteDoctorDetails(doctor);
         return(RedirectToAction("Doctor"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }