Remove static variables from stores

This commit is contained in:
James Hadwen
2022-01-27 20:15:57 +07:00
parent 7b87c81989
commit f5c3bee255
3 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -108,10 +108,10 @@ namespace AspNetCore.Identity.MongoDbCore
/// <summary>
/// Gets the database context for this store.
/// </summary>
private static IMongoDbContext Context { get; set; }
private IMongoDbContext Context { get; }
private static IMongoRepository _mongoRepository;
private static IMongoRepository MongoRepository
private IMongoRepository _mongoRepository;
private IMongoRepository MongoRepository
{
get
{