Example #1
0
        /// <summary>
        /// 删除角色
        /// </summary>
        /// <param name="ID"></param>
        /// <returns></returns>
        public Result DelDept(string ID)
        {
            dept.Delete(new Guid(ID));

            return(new Result(true, "删除成功", null));
        }
Example #2
0
        public async Task <IActionResult> Delete(int id = 0)
        {
            await _deptService.Delete(id);

            return(SuccessJsonResult());
        }