public ActionResult DeleteConfirmed(string id)
 {
     try
     {
         IBL    bl     = new BLImplement();
         Doctor doctor = bl.getDoctor(id);
         bl.deleteDoctor(doctor);
         ViewBag.Message = String.Format("The doctor {0} is successfully deledted", doctor.Name);
         return(RedirectToAction("Index"));
     }
     catch (Exception ex)
     {
         ViewBag.Message = String.Format(ex.Message);
         return(RedirectToAction("Delete"));
     }
 }