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