I have customerId:- 1 and 2 and using this customer id i want to filter out my connection string
for example:-
"connectionstring":{
"connection_1":"data source"
"connection_2":"data source"
}
i want to read connection strings as per my customer id 1 and 2. Is it possible in .net core webAPI ? i want to access in dbcontext class or controller and change connectionstring dynamically.