public JsonResult ListOfTrucks() { try { var trucks = _truckService.RetrieveAllTrucks(); return(Json(trucks, JsonRequestBehavior.AllowGet)); } catch (Exception) { throw; } }