remove set creation
This commit is contained in:
parent
f62b05bc37
commit
914cbd37a1
5 changed files with 0 additions and 71 deletions
|
|
@ -4,15 +4,6 @@ namespace App\Set;
|
|||
|
||||
class EloquentSetRepository implements SetRepository
|
||||
{
|
||||
public function create(CreateSetDto $dto): Set
|
||||
{
|
||||
$model = SetModel::create([
|
||||
'name' => $dto->name,
|
||||
]);
|
||||
|
||||
return $this->toDomain($model);
|
||||
}
|
||||
|
||||
public function find(int $id): ?Set
|
||||
{
|
||||
$model = SetModel::find($id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue