@@ -85,6 +85,7 @@ class HandleCreateSeason
|
||||
$teamDto->name = $teamEntity->getName();
|
||||
$teamDto->active = true;
|
||||
$teamEntity->setActive(true);
|
||||
$this->entityManager->persist($seasonEntity);
|
||||
$this->entityManager->persist($teamEntity);
|
||||
$this->entityManager->flush();
|
||||
$teamDto->id = $teamEntity->getId();
|
||||
|
||||
Reference in New Issue
Block a user