i am working with asp.net mvc 5 project. suppose i showing studen registration form where i have few textbox where student will fill their name and address details. also select his country and also select his hobbies etc.
so countries will be coming from country repository, hobbies will be coming from hobby repository.
so if i inject one repository in controller by manually or by automatically using unity DI then how it will be possible for me to call data from multiple repositories ?
please guide me how to design and handle this situation. thanks
Loading

Shweta LodhaRank #31 · 39.8K reputationPosted Feb 13, 2018, 11:27 PM EST
Tridip BhattacharjeeRank #1,729 · 877 reputationPosted Feb 14, 2018, 10:56 PM EST
Shweta LodhaRank #31 · 39.8K reputationPosted Feb 15, 2018, 4:58 PM EST
Tridip BhattacharjeeRank #1,729 · 877 reputationPosted Feb 15, 2018, 9:08 PM EST