public function create(array $data)
 {
     $encrypt = $data['user']['password'];
     $data['user']['password'] = bcrypt($encrypt);
     $user = $this->userRepository->create($data['user']);
     $data['user_id'] = $user->id;
     $this->clientRepository->create($data);
 }
 public function edit($id)
 {
     // $list_status =$this->orderService->state();
     $order = $this->repository->find($id);
     $deliveryman = $this->userRepository->getdeliveryman();
     return view('admin/orders/edit', compact('order', 'list_status', 'deliveryman'));
 }