Skip to content

Commit

Permalink
fix: rename EncodeFindOne
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILLIPS71 committed May 11, 2024
1 parent 1b213b0 commit ac1b968
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
namespace Giantnodes.Service.Dashboard.HttpApi.Resolvers.Encodes.Queries;

[ExtendObjectType(OperationTypeNames.Query)]
public class EncodeFindMany
public class EncodeFindOne
{
[UsePaging]
[UseFirstOrDefault]
[UseProjection]
[UseFiltering]
[UseSorting]
public IQueryable<Encode> Encodes([Service] ApplicationDbContext database)
public IQueryable<Encode> Encode([Service] ApplicationDbContext database)
{
return database.Encodes.AsNoTracking();
}
Expand Down

0 comments on commit ac1b968

Please sign in to comment.