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