import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ApproveExamRouter } from './router/approve-exam-router';
import {SharedModule} from '../../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import { ApproveExamContainer } from './container/approve-exam/approve-exam.container';
import { ApproveExamSearchComponent } from './presenter/search/approve-exam-search/approve-exam-search.component';
import { ApproveExamListComponent } from './presenter/list/approve-exam-list/approve-exam-list.component';
import { ConfirmApproveExamDialogComponent } from './presenter/dialog/confirm-approve-exam-dialog/confirm-approve-exam-dialog.component';

const routes: Routes = [
  {
    path: '',
    component: ApproveExamRouter,
    children: [
      {
        path: '',
        component: ApproveExamContainer
      },
      // {
      //   path: 'view/:id',
      //   component: CheckCandidateTestingListComponent
      // },
    ]
  }
];

@NgModule({
  declarations: [
    ApproveExamRouter,
    ApproveExamContainer,
    ApproveExamSearchComponent,
    ApproveExamListComponent,
    ConfirmApproveExamDialogComponent
  ],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes),
  ]
})
export class ApproveExamModule { }
