示例#1
0
 public IEnumerable <UserModel> Get()
 {
     return(_usersService.All());
 }
示例#2
0
 public UsersQuery(IUsersService usersService)
 {
     Field <ListGraphType <UsersType> >("Users", resolve: context => usersService.All());
 }