4
URL.Aktionsparameter?
In der Liste Controller habe ich, public ActionResult GetByList(string name, string contact) { var NameCollection = Service.GetByName(name); var ContactCollection = Service.GetByContact(contact); return View(new ListViewModel(NameCollection ,ContactCollection)); } Auf der ASPX-Seite rufe ich an, <a href="<%:Url.Action("GetByList","Listing" , new {name= "John"} , new {contact="calgary, vancouver"})%>"><span>People</span></a> Ich habe ein Problem im ASPX-Code ... Ich …