Exemple #1
0
        public ActionResult SubmitUpdateAdminInfo()
        {
            string adminID         = Request["administrator_id"];
            string adminName       = Request["administrator_name"];
            string adminSex        = Request["administrator_sex"];
            string adminIDCard     = Request["administrator_id_card"];
            string adminContact    = Request["administrator_contact"];
            string adminDepartment = Request["administrator_department"];
            string adminOther      = Request["administrator_other"];
            string status          = Request["status"];
            //数据类型转换
            int adminStatus = Convert.ToInt32(status);

            string result = roleInfoService.UpdateAdminInfo(adminID, adminName, adminSex, adminIDCard, adminDepartment, adminContact, adminOther, adminStatus);

            //return View("AlterAdminInfo");
            return(View("SubmitAddCourseInfo"));
        }