public function getClient($id)
 {
     try {
         return ["success" => $this->repository->find($id)];
     } catch (\Exception $e) {
         return ["success" => false, "message" => "Client ID: {$id} not found"];
     }
 }
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     return $this->repository->with(['projects'])->find($id);
 }