Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public ActionResult Index(ClinicDataExport model)
 {
     model.list = getPatientList(model.HealthCoachSelected, model.ModuleSelected);
     return View(model);
 }