Skip to content

Commit

Permalink
removed double usepaging attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
VILLAN3LL3 committed Oct 29, 2023
1 parent ba04380 commit da9393d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Orso.Arpa.Api/GraphQL/Query.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,27 @@ public class Query
{

[UseApplicationDbContext]
[UsePaging]
[UseOffsetPaging]
[UseFiltering]
[UseSorting]
public ValueTask<List<MusicianProfile>> GetMusicianProfiles(GraphQLContext graphQLContext) =>
new(graphQLContext.MusicianProfiles.ToListAsync());

[UseApplicationDbContext]
[UsePaging]
[UseOffsetPaging]
[UseFiltering]
[UseSorting]
public ValueTask<List<Person>> GetPersons(GraphQLContext graphQLContext) =>
new(graphQLContext.Persons.ToListAsync());

[UseApplicationDbContext]
[UsePaging]
[UseOffsetPaging]
[UseFiltering]
[UseSorting]
public ValueTask<List<Project>> GetProjects(GraphQLContext graphQLContext) =>
new(graphQLContext.Projects.ToListAsync());

[UseApplicationDbContext]
[UsePaging]
[UseOffsetPaging]
[UseFiltering]
[UseSorting]
Expand Down

0 comments on commit da9393d

Please sign in to comment.