Barbershop::findOrFail(decryptId($barbershop))); Route::bind('user', fn(string $user) => User::findOrFail(decryptId($user))); Route::bind('customer', fn(string $customer) => Customer::findOrFail(decryptId($customer))); Route::bind('service', fn(string $service) => Service::findOrFail(decryptId($service))); Route::bind('expense', fn(string $expense) => Expense::findOrFail(decryptId($expense))); Route::bind('payroll', fn(string $payroll) => Payroll::findOrFail(decryptId($payroll))); Route::bind('cash', fn(string $cash) => Cash::findOrFail(decryptId($cash))); } }