add more controller
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\SchoolIds;
|
||||
|
||||
use App\Services\SchoolIdService;
|
||||
|
||||
class SchoolIdAssignmentService
|
||||
{
|
||||
public function __construct(private SchoolIdService $schoolIdService)
|
||||
{
|
||||
}
|
||||
|
||||
public function assignToUser(int $userId): ?string
|
||||
{
|
||||
return $this->schoolIdService->assignSchoolIdToUser($userId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user