Example #1
0
 public IQueryable <ConnectUser> GetUsers([Service] ConnectContext context) =>
 context.ConnectUsers;
Example #2
0
 public IQueryable <ConnectUser> GetUserById([Service] ConnectContext context, string UserId) =>
 context.ConnectUsers.Where(t => t.Id.Equals(UserId));