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

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

    constructor(
        public http: HttpClient
    ) {
        super('/v1/student/reset_seat',http)
    }

    reset(data){
        return this.http.put(`${this.fullUrl}/${data.testing_information_uid}/${data.branch_code}/${data.testing_field_code}/${data.testing_room_code}/${data.testing_date}/${data.section}`,data);
    }
}
