/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { if (AppMarcas::where('id', $id)->delete()) { return ['status' => 'Sucesso']; } }