public ActionResult Index() { var user = Session["CurrentUser"] as UserAndRole; ClinicDataExport model = new ClinicDataExport(); model.HealthCoachSelected = user.UserId; model.HealthCoachName = _ServicesSoapClient.GetUserName(user.UserId); return View(model); }
public ActionResult Index(ClinicDataExport model) { model.list = getPatientList(model.HealthCoachSelected, model.ModuleSelected); return View(model); }