put in signal for edit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using FamilyTreeAPI.Models;
|
||||
|
||||
namespace FamilyTreeAPI.GraphQL.Query
|
||||
{
|
||||
public class QueryFamilyTree
|
||||
{
|
||||
[UsePaging]
|
||||
[UseProjection]
|
||||
[UseFiltering]
|
||||
[UseSorting]
|
||||
public IQueryable<Person> GetPersons([Service] FamilyTreeDBContext dBContext) => dBContext.Persons;
|
||||
[UsePaging]
|
||||
[UseProjection]
|
||||
[UseFiltering]
|
||||
[UseSorting]
|
||||
public IQueryable<staff> GetStaffs([Service] FamilyTreeDBContext dBContext) => dBContext.staff;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user