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

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

  constructor(
    public http : HttpClient
  ) {
    super('/v1/information/testing_periods',http)
   }

   getTime(id){
    return this.http.get(`${this.prefix}/v1/information/testing_period_list_by_infomation/${id}`);
   }

   changeTime(data){
    return this.http.put(`${this.prefix}/v1/information/list_testing_period`,data);
   }
}
