public Task <Person> Person([Service] PeopleContext context, Guid id) { return(context.People.FirstOrDefaultAsync(x => x.Id == id)); }
public IQueryable <Person> allPeople([Service] PeopleContext context) => context.People;
public Task <Person> Person([Service] PeopleContext context, Guid id) { return(context.People.FirstOrDefaultAsync(x => x.Id == id)); }
public IQueryable <Person> allPeople([Service] PeopleContext context) => context.People;