28 lines
753 B
PHP
28 lines
753 B
PHP
<?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);
|
|
}
|
|
}
|