示例#1
0
        public ActionResult AddDepartment(DepartmentViewModel department)
        {
            Department dp = new Department {
                Name = department.Name
            };

            _dbManager.AddDepartment(dp);
            return(Json("", JsonRequestBehavior.AllowGet));
        }