/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { $oferta = Oferta::findOrFail($id); $oferta->delete(); return ['message' => 'destroy']; }