Mark Tabor

Mark Tabor

  • 586
  • 2k
  • 464.5k

MVC partial view

Sep 10 2016 3:38 PM
i am mvc newbie i have a simple partial view for menu and it is strongly type , Now i want to create a new partial view for menu link Like for services Link i want to create a strongly type partial view which gets data from database , Now i created  a strongly type partial view and it is getting data as well , Now my Header view is already having one model reference , but in the Actionlink of service page i want to call a service controller and load the data from database how to do that , I mean i have two models , I have made a base model class and put the two model there but still i am not able to achieve the result.

Answers (1)