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