Commit 4b70dbad by Natthaphat

ทะเบียนเครื่องมือ > เครื่องมือประเมิน

ทะเบียนหลักสูตร > หลักสูตรการพัฒนา
parent 9fc248ab
...@@ -21,7 +21,7 @@ export class AssessmentService { ...@@ -21,7 +21,7 @@ export class AssessmentService {
post(body: AssessmentModel): Observable<AlertModel> { post(body: AssessmentModel): Observable<AlertModel> {
return this.http.post<AlertModel>(this.urlApi, body) return this.http.post<AlertModel>(this.urlApi, body)
} }
delete(body: AssessmentModel): Observable<AlertModel> { delete(body: AssessmentModel | AssessmentModel[]): Observable<AlertModel> {
const options = { const options = {
headers: new HttpHeaders({ headers: new HttpHeaders({
"Content-Type": "application/json", "Content-Type": "application/json",
......
...@@ -25,7 +25,7 @@ export class CompetencycourseService { ...@@ -25,7 +25,7 @@ export class CompetencycourseService {
post(body: CompetencycourseModel): Observable<AlertModel> { post(body: CompetencycourseModel): Observable<AlertModel> {
return this.http.post<AlertModel>(this.urlApi, body) return this.http.post<AlertModel>(this.urlApi, body)
} }
delete(body: CompetencycourseModel): Observable<AlertModel> { delete(body: CompetencycourseModel | CompetencycourseModel[]): Observable<AlertModel> {
const options = { const options = {
headers: new HttpHeaders({ headers: new HttpHeaders({
"Content-Type": "application/json", "Content-Type": "application/json",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment