public function create($id) { $deliverable = $this->deliverablesRepository->find($id); return view('admin.deliverableFiles.create', compact('deliverable')); }
public function edit($id) { $deliverable = $this->repository->find($id); $protocols = $this->protocolRepository->lists(); return view('admin.deliverables.edit', compact('deliverable', 'protocols')); }