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

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

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

     register(uid,data){
        return this.http.post(`${this.fullUrl}/${uid}`,data);
     }

     registerSeat(uid,isGenerateSeat,data){
        return this.http.post(`${this.fullUrl}/${uid}/${isGenerateSeat}`,data);
     }
}
