4
Url.Action parametry?
Na liście kontrolera mam, public ActionResult GetByList(string name, string contact) { var NameCollection = Service.GetByName(name); var ContactCollection = Service.GetByContact(contact); return View(new ListViewModel(NameCollection ,ContactCollection)); } Na stronie ASPX, którą dzwonię, <a href="<%:Url.Action("GetByList","Listing" , new {name= "John"} , new {contact="calgary, vancouver"})%>"><span>People</span></a> Mam problem z kodem ASPX ... Mogę pobrać rekordy dla nazwiska …