public override void Default() { List <AB> list = JsonHelper.ToList <AB>(GetJson()); AB ab = GetEntity <AB>(); Write(GetJson()); }
public void GetDataOnlyPost(List <AB> unList, string a, int?b, AB ab) { Write("GetDataOnlyPost A:" + unList[0].A + " B:" + unList[0].B, true); }
public void GetDataWithNoToken(List <AB> unList, string a, int?b, AB ab) { Write("GetDataWithNoToken A:" + unList[0].A + " B:" + unList[0].B + "<script>alert('ok');</script>", true); }
public void GetDataWithNoToken(List <AB> unList, string a, int?b, AB ab) { Write("GetDataWithNoToken A:" + unList[0].A + " B:" + unList[0].B, true); }
//public void GetData(AB un) //{ // Write("your data A:" + un.A, true); // Write("your data B:" + un.B, true); //} public void GetData(List <AB> unList, string a, int?b, AB ab) { Write("your data A:" + unList[0].A + " your data B:" + unList[0].B, true); }