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

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

    constructor(
        public http: HttpClient
    ) {
        super(`/${environment.apiVersion}/enrollment/candidate_types`, http)
        super.fullUrl = `${environment.enrollmentApi}/api/${environment.apiVersion}/enrollment/candidate_types`
    }
}
