mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
list event to approve
This commit is contained in:
@@ -2,6 +2,7 @@ import { HttpClient, HttpParams } from '@angular/common/http';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Observable } from 'rxjs';
|
||||
import { EventOutputDTO } from './model/eventDTOOutput';
|
||||
import { EventInputDTO } from './model/eventInputDTO';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
@@ -34,7 +35,7 @@ export class AgendaDataService {
|
||||
}
|
||||
|
||||
// Events Endpoints
|
||||
createEvent(eventData: any): Observable<any> {
|
||||
createEvent(eventData: EventInputDTO): Observable<any> {
|
||||
return this.http.post<any>(`${this.baseUrl}/Events`, eventData);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user