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