示例#1
0
 public async Task Delete([FromRoute] long id)
 {
     await _deptService.Delete(id);
 }
示例#2
0
 public async Task <ActionResult> Delete([FromRoute] long id)
 {
     return(Result(await _deptService.Delete(id)));
 }