Esempio n. 1
0
 public static function getObjects()
 {
     return Equipment::all();
 }
 public function index()
 {
     $allEquipment = Equipment::all();
     return response()->json($allEquipment);
 }