//
        // GET: /DetailUserTypeAdmin/
        public ActionResult Index()
        {
            CreateLayoutAdminView();
            AutoForm <DetailUserTypeInputAdminViewData> newPatientItems = new AutoForm <DetailUserTypeInputAdminViewData>();

            ViewBag.Forms = newPatientItems.GetControls();
            return(View());
        }
示例#2
0
        //
        // GET: /AdminApplicationUser/
        public ActionResult Index()
        {
            CreateLayoutAdminView();
            AutoForm <ApplicationUserInputAdminViewData> applicationUsers = new AutoForm <ApplicationUserInputAdminViewData>();

            ViewBag.Forms = applicationUsers.GetControls();
            return(View());
        }
示例#3
0
        //
        // GET: /HaveSendQuestionAdmin/
        public ActionResult Index()
        {
            CreateLayoutAdminView();
            AutoForm <HaveSendQuestionInputAdminViewData> newPatientItems = new AutoForm <HaveSendQuestionInputAdminViewData>();

            ViewBag.Forms = newPatientItems.GetControls();
            return(View());
        }
        //
        // GET: /AdminApplicationUserRole/
        public ActionResult Index(String userId)
        {
            CreateLayoutAdminView();
            AutoForm <ApplicationUserRoleInputAdminViewData> applicationUserRoles =
                new AutoForm <ApplicationUserRoleInputAdminViewData>();
            var forms = applicationUserRoles.GetControls();
            ComboboxViewData roleCombobox = (ComboboxViewData)forms[1];

            roleCombobox.Url += "?userId=" + userId;
            ViewBag.Forms     = forms;
            ViewBag.OtherId   = userId;
            return(View());
        }