public JsonResult UpdateJet(DataLibrary.Models.Jet jet) { var result = SqlProcessor.updateJet(jet); return(Json(result, JsonRequestBehavior.AllowGet)); }
public JsonResult deleteJet(DataLibrary.Models.Jet jet) { SqlProcessor.deleteJet(jet); return(Json(jet, JsonRequestBehavior.AllowGet)); }
public JsonResult submitJet(DataLibrary.Models.Jet jet) { var newJet = SqlProcessor.CreateJet(jet.modelName, jet.serialNumber); return(Json(newJet, JsonRequestBehavior.AllowGet)); }