diff --git a/README.md b/README.md index 7897a74..230c2bb 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,8 @@ Available as a Nuget package : https://www.nuget.org/packages/AspNetCore.Identit # Usage examples -Your user and role entities must inherit from MongoIdentityUser and MongoIdentityRole in a way similar to the IdentityUser and the IdentityRole in Microsoft.AspNetCore.Identity. +Your user and role entities must inherit from `MongoIdentityUser` and `MongoIdentityRole` in a way similar to the `IdentityUser` and the `IdentityRole` in `Microsoft.AspNetCore.Identity`, where `TKey` is the type of the primary key of your document. + Here is an example: ```csharp