public ActionResult Create([Bind(Exclude = "")] DoctorModels DoctorModel) { try { if (Doctor.Create(DoctorModel)) { return(RedirectToAction("Index")); } else { return(View("Create")); } } catch { return(View("Create")); } }