diff --git a/README.md b/README.md index e011833..36f3b99 100644 --- a/README.md +++ b/README.md @@ -47,12 +47,12 @@ To add the stores, you can use the `IdentityBuilder` extension like so: ```csharp services.AddIdentity() - .AddMongoDbStores - ( - "mongodb://localhost:27017", - "MongoDbTests" - ) - .AddDefaultTokenProviders(); + .AddMongoDbStores + ( + "mongodb://localhost:27017", + "MongoDbTests" + ) + .AddDefaultTokenProviders(); ``` It is also possible to share a common `IMongoDbContext` across your services: @@ -60,8 +60,8 @@ It is also possible to share a common `IMongoDbContext` across your services: ```csharp var mongoDbContext = new MongoDbContext("mongodb://localhost:27017", "MongoDbTests"); services.AddIdentity() - .AddMongoDbStores(mongoDbContext) - .AddDefaultTokenProviders(); + .AddMongoDbStores(mongoDbContext) + .AddDefaultTokenProviders(); // Use the mongoDbContext for other things. ``` @@ -70,8 +70,8 @@ You can also use the more explicit type declaration: ```csharp var mongoDbContext = new MongoDbContext("mongodb://localhost:27017", "MongoDbTests"); services.AddIdentity() - .AddMongoDbStores(mongoDbContext) - .AddDefaultTokenProviders(); + .AddMongoDbStores(mongoDbContext) + .AddDefaultTokenProviders(); // Use the mongoDbContext for other things. ```