public ActionResult Detail(int id) { Patient patientModel = Mapper.Map <Patient>(_patientBL.GetPatientByID(id)); return(View(patientModel)); }