public ActionResult AddPatient(AddPatientModel patient) { if (ModelState.IsValid) { //clalling BLL function PatientLogic.addPatient(patient); } return(View()); }