@@ -608,6 +608,15 @@ export class OrganizationService {
|
||||
return this.http.get('/holidays/template');
|
||||
}
|
||||
|
||||
/**
|
||||
* Create Holiday.
|
||||
* @param holidayData Holiday data to be created.
|
||||
* @returns {Observable<any>}
|
||||
*/
|
||||
createHoliday(holidayData: any): Observable<any> {
|
||||
return this.http.post('/holidays', holidayData);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update Holiday.
|
||||
* @param holidayId Holiday Id to be updated.
|
||||
|
||||
Reference in New Issue
Block a user