import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';
import { Observable } from 'rxjs';
import { AcademicSemesterService } from 'src/app/core/service/settings/academic-semester.service';
import { AcademicYearService } from 'src/app/core/service/settings/academic-year.service';

@Component({
  selector: 'app-print-exam-result',
  templateUrl: './print-exam-result.container.html',
  styleUrls: ['./print-exam-result.container.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class PrintExamResultContainer implements OnInit {
  academicYearList$ = new Observable()
  academicSemList$ = new Observable()
  constructor(
    private acdmYearSV : AcademicYearService,
    private acdmSemSV : AcademicSemesterService
  ) { }

  ngOnInit(): void {
    this.academicYearList$ = this.acdmYearSV.getAll()
    this.academicSemList$ = this.acdmSemSV.getAll()
  }

}
