Beispiel #1
0
 public async Task <List <DeptNodeDto> > GetList()
 {
     return(await _deptService.GetList());
 }
Beispiel #2
0
 public async Task <ActionResult <List <DeptNodeDto> > > GetList()
 {
     return(Result(await _deptService.GetList()));
 }