Tridip Bhattacharjee

Tridip Bhattacharjee

  • NA
  • 1.2k
  • 78.2k

ASP.Net MVC How to work with multiple repositories

Feb 14 2018 3:43 AM
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

Answers (4)