示例#1
0
        public ActionResult AddAreaInfo(AreaAddModel model)
        {
            if (ModelState.IsValid)
            {
                var result = AreaBLL.AddAreaInfo(model, base.UserIDForLog);

                base.DoLog(OperationTypeEnum.Add, result, "AreaName:" + model.AreaName);
                return(Json(result));
            }
            else
            {
                return(PartialView("_AddAreaInfo", model));
            }
        }