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

            return(res);
        }
示例#2
0
 public List <SysAdmin> GetList()
 {
     return(SysAdminDb.GetList());
 }