IMultiTenancyService.getRepository<Entity, Id = string>(ctx: IRequestContext,entity: string): ITenantRepository<Entity, Id>
Create a tenant-scoped repository for the given entity type.
Throws TenantNotResolvedError if no tenant is resolved.
ctx: IRequestContext
The current request context
A tenant-scoped repository