Mongodb – How to use Dependency Injection (.net8) to Inject two MongoBb Clients
How do I use Dependency Injection (.net8) to Inject two MongoBb Clients? I have a scenario where I need to read from Db1/collection1 and then save something to Db2/collection2. In my startup I have the following but not sure how…