Exemplo n.º 1
0
        /// <summary>
        /// 删除系别
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public async Task <string> DeleteRemoveDept(int id)
        {
            await _deptService.DeleteDept(id);

            return("success");
        }
Exemplo n.º 2
0
 public async Task DeleteDept(long deptId)
 {
     await _deptService.DeleteDept(deptId);
 }
Exemplo n.º 3
0
        public IHttpActionResult Delete(int DeptID)
        {
            var response = service.DeleteDept(DeptID);

            return(Ok(response));
        }