import { Injectable } from '@angular/core';
import {BaseService} from '../../../base/base-service';
import {HttpClient} from '@angular/common/http';

@Injectable({
  providedIn: 'root'
})
export class EligibleCandidateService   extends BaseService {

    requestUrl;

    constructor(
        public http: HttpClient
    ) {
        super('/report/eligible_candidate', http)
    }

    getReportWithTestInforUid(tsetInUid){
        this.requestUrl = `${this.fullUrl}?testing_information_uid=${tsetInUid}`;
        window.open(this.requestUrl);
        return this.requestUrl;
    }
}
