reconstruction of the project
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Administrator;
|
||||
|
||||
class AdministratorEnrollmentService
|
||||
{
|
||||
public function __construct(
|
||||
protected AdministratorEnrollmentQueryService $queryService,
|
||||
protected AdministratorEnrollmentStatusService $statusService,
|
||||
) {
|
||||
}
|
||||
|
||||
public function enrollmentWithdrawalData(?string $selectedYear = null): array
|
||||
{
|
||||
return $this->queryService->enrollmentWithdrawalData($selectedYear);
|
||||
}
|
||||
|
||||
public function showNewStudentsData(): array
|
||||
{
|
||||
return $this->queryService->newStudentsData();
|
||||
}
|
||||
|
||||
public function updateStatuses(array $enrollmentStatuses, int $editorUserId): array
|
||||
{
|
||||
return $this->statusService->updateStatuses($enrollmentStatuses, $editorUserId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user