server_id)) { throw new ServerUsingAllocationException(trans('exceptions.allocations.server_using')); } return $this->repository->delete($allocation->id); } }