Example #1
0
 public ActionResult Zip(int postalcode)
 {
     PostalCodes pcs = new PostalCodes();
     PostalCode pc = pcs.getCityByZip(postalcode);
     string jsonString = JsonHelper.JsonSerializer<PostalCode>(pc);
     Response.Write(jsonString);
     return null;
 }