public ActionResult SaveManJian(Manjiujian m, List <int> userType, string areaNums) { var loginUser = (UserInfo)ViewBag.User; Guid managerId = (Guid)ViewBag.ManagerId; var areaList = areaNums.Split(',').ToList(); m.Id = Guid.NewGuid(); m.CreateTime = DateTime.Now; m.CreateUserId = managerId; string userTypes = ""; userType.ForEach(x => { userTypes += x; userTypes += ","; }); m.UserTypes = userTypes; _active.CreateManjiujian(m, areaList); Response.Redirect("GetManJianList"); return(View()); }