Install the package with NuGet:
dotnet add package uBeac.Repositories.MongoDB
Just create an class and inherit from MongoEntityRepository:
public class YourRepository : MongoEntityRepository<YourEntityKey, YourEntity, YourMongoDbContext>
{
}
public class YourRepository : MongoEntityRepository<YourEntity, YourMongoDbContext>
{
}You can use
MongoDBContextor implementIMongoDBContext.