public function show($code) { return $this->repository->skipPresenter(false)->findByCode($code); }
public function destroy($id) { $this->repository->delete($id); return redirect()->route('admin.cupoms.index'); }