public ActionResult UpdateUserRole() { try { var userID = Request["UserID"]; string[] roles = Request["Roles[]"].Split(','); SysService.SaveUserRole(userID, roles); return(Json(ResultData.Create(SysService.GetUserModel(userID)), "text/html")); } catch (Exception ex) { return(Json(ResultData.CreateError(ex.Message), "text/html")); } }