public function update(EntryUpdateRequest $request, $id)
 {
     $data = $request->all();
     $entry = $this->entryRepository->update($data, $id);
     return redirect()->route('client.entries.dispatch', ['id' => $entry->id]);
 }
 public function update(EntryUpdateRequest $request, $id)
 {
     $data = $request->all();
     $entry = $this->repository->update($data, $id);
     return redirect()->route('admin.entries.index', ['id' => $entry->project_id]);
 }