Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Fetch the user information such as ID from HttpContext object
- 2. Then getting the approprate db name from a common db.
- 3. Updating the dbContext with the db name
- 4. And all my repository classes are instantiated based on this updated dbContext
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement