public function destroy($id) { $analyse = Analyse::find($id); $analyse->delete(); return $this->setStatusCode(200)->respond(["message" => "succesfully deleted the analyse"]); }