Esempio n. 1
0
 public JsonResult PostSquirrel(Squirrel incomingSquirrel)
 {
     string status = null;
     try
     {
         saveSquirrel(incomingSquirrel);
         status = "If you don't see this, something went wrong.";
     }
     catch (Exception e)
     {
         status = e;
     }
     return Json(status);
 }
Esempio n. 2
0
 private Boolean saveSquirrel(Squirrel incomingSquirrel)
 {
     return false;
 }