/** * Remove the specified SisterDownloadApp from storage. * * @param int $id * * @return Response */ public function destroy($id) { $sisterDownloadApp = $this->sisterDownloadAppRepository->find($id); if (empty($sisterDownloadApp)) { Flash::error('SisterDownloadApp not found'); return redirect(route('sisterDownloadApps.index')); } $this->sisterDownloadAppRepository->delete($id); Flash::success('SisterDownloadApp deleted successfully.'); return redirect(route('sisterDownloadApps.index')); }