// GET: PatientsList public ActionResult Index() { PatientModel Model = new PatientModel(); PatientViewModel viewModel = new PatientViewModel(Model.GetList()); return(View(viewModel.GetList())); }