public function getAllTypeProduit() { $tprod = new TypeProduit(); $results = $tprod->getAll(); return Response()->json($results->toArray(), 200); }
public function getAll() { return TypeProduit::all(); }