Ejemplo n.º 1
0
        public override void Default()
        {
            List <AB> list = JsonHelper.ToList <AB>(GetJson());
            AB        ab   = GetEntity <AB>();

            Write(GetJson());
        }
Ejemplo n.º 2
0
 public void GetDataOnlyPost(List <AB> unList, string a, int?b, AB ab)
 {
     Write("GetDataOnlyPost A:" + unList[0].A + " B:" + unList[0].B, true);
 }
Ejemplo n.º 3
0
 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);
 }
Ejemplo n.º 4
0
 public void GetDataWithNoToken(List <AB> unList, string a, int?b, AB ab)
 {
     Write("GetDataWithNoToken A:" + unList[0].A + " B:" + unList[0].B, true);
 }
Ejemplo n.º 5
0
 //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);
 }