public function findContract(Route $route)
 {
     $this->contract = Contract::findOrFail($route->getParameter('contracts'));
 }