public function edit($id, DomainForm $form): void
    {
        $model = $this->repository->get($id);
        $model->edit($form->name, $form->alias, $form->url);
        $this->repository->save($model);
    }