Ejemplo n.º 1
0
        public ActionResult AddDepartment(DepartmentModel model)
        {
            model.CreateBy = Operator.UserId;
            model.CreateOn = DateTime.Now;
            var result = DepartmentService.CreateModel(model) ? SuccessTip() : ErrorTip();

            return(Json(result));
        }