Beispiel #1
0
 public ActionResult Detail(int id)
 {
     try
     {
         var result = _doctorBusiness.GetByID(id);
         return(View(result));
     }
     catch (Exception)
     {
         return(View());
     }
 }
 public ActionResult Edit(int id)
 {
     try
     {
         ViewBag.DepartmentLst = _departmentBusiness.GetAll(true);
         var result = _doctorBusiness.GetByID(id);
         return(View(result));
     }
     catch (Exception)
     {
         return(View());
     }
 }