public async Task <ApiResult <List <SysAdmin> > > GetListAsync() { ApiResult <List <SysAdmin> > res = new ApiResult <List <SysAdmin> > { statusCode = 200, data = SysAdminDb.GetList() }; return(res); }
public List <SysAdmin> GetList() { return(SysAdminDb.GetList()); }