Example #1
0
        public ActionResult SaveBlackList(BlackList m, string areaNums)
        {
            Guid managerId = (Guid)ViewBag.ManagerId;
            var  areaList  = areaNums.Split(',').ToList();
            var  loginUser = (UserInfo)ViewBag.User;

            m.CreateTime     = DateTime.Now;
            m.CreateUserId   = managerId;
            m.CreateUserName = loginUser.UserName;

            _active.AddBlackList(m, areaList);
            Response.Redirect("BlackListView");
            return(View());
        }