I have one PartialView that has been Included inside two other views.
How would I be able to pass parameter from PartialView to main Controller of each View.
@Html.Partial("_Video","file1.xml")
and
@Html.Partial("_Video","file2.xml")
I want to be able to get the parameter value on Get method on each controller.
//Controller1
// GET: //
public ActionResult Index(){
"file1.xml"
}
//Controller2
// GET: //
public ActionResult Index(){
"file2.xml"
}