public ActionResult PatientProfileView(string clinicname) { PatientModel model = new PatientModel(); model.ClinicName = clinicname; List <PatientModel> listmodel = new List <PatientModel>(); listmodel = model.GetPatientProfileData(); return(View(listmodel)); }