Example #1
0
 public ActionResult States()
 {
     States sts = new States();
     List<State> states = sts.getAll();
     string jsonString = JsonHelper.JsonSerializer<List<State>>(states);
     Response.Write(jsonString);
     return null;
 }