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
Tridip BhattacharjeePosted Feb 16, 2018, 2:08 AM
Shweta LodhaPosted Feb 15, 2018, 9:58 PM
Tridip BhattacharjeePosted Feb 15, 2018, 3:56 AM
Shweta LodhaPosted Feb 14, 2018, 4:27 AM