Esempio n. 1
0
        /// <summary>
        /// 新增系别
        /// </summary>
        /// <param name="addDeptInput"></param>
        /// <returns>新增系别Id</returns>
        public async Task <AddDeptOutput> InsertAddDept(AddDeptInput addDeptInput)
        {
            var dept = await _deptService.InsertDept(addDeptInput.Adapt <DeptDto>());

            return(dept.Adapt <AddDeptOutput
                               >());
        }