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