在服務器端我有它返回一個JsonResult交易: public JsonResult DoStuff(Guid id, string userInputText)
{
var product = _repository.Product(id); //busines logic
//Only a specific product must have userInputTex
RouteValues傳遞IEnumerable的財產想象的對象定義如下: public class MyViewModel{
public List<string> MyList { get; set; }
}
在我看來,我有這個動作鏈接: @Ajax.ActionLink("<", "Index", new MyViewModel() { MyList = new List<s