forked from VitorCarvalho67/Boot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.ts
40 lines (38 loc) · 1.67 KB
/
admin.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import {
GetCursosController
} from "../../../modules/controllers/sharedControllers"
import {
LoginAdminController,
RegisterCursosController,
RegisterProfessorController,
RegisterFuncionarioController,
RegisterCoordenadorController,
GetAllProfessoresController,
GetAllCoordenadoresController,
RegisterTurmaController,
RefreshTokenController,
GetFullProfessoresController,
GetFullCoordenadoresController,
GetFullCursosController,
GetFullEstagiosController,
GetFullFuncionariosController,
GetFullTurmasController
} from "../../../modules/controllers/adminControllers";
export const createControllers = () => ({
loginAdminController: new LoginAdminController(),
registerCursosController: new RegisterCursosController(),
registerProfessorController: new RegisterProfessorController(),
registerFuncionarioController: new RegisterFuncionarioController(),
registerCoordenadorController: new RegisterCoordenadorController(),
registerTurmaController: new RegisterTurmaController(),
getCursosController: new GetCursosController(),
refreshTokenController: new RefreshTokenController(),
getAllProfessoresController: new GetAllProfessoresController(),
getAllCoordenadoresController: new GetAllCoordenadoresController(),
getFullProfessoresController: new GetFullProfessoresController(),
getFullCoordenadoresController: new GetFullCoordenadoresController(),
getFullCursosController: new GetFullCursosController(),
getFullEstagiosController: new GetFullEstagiosController(),
getFullFuncionariosController: new GetFullFuncionariosController(),
getFullTurmasController: new GetFullTurmasController()
});