Integração dos eventos de agenda no Expediente

This commit is contained in:
Paulo Pinto
2020-09-08 09:01:41 +01:00
parent e61efd19a1
commit 4689b71b3a
4 changed files with 73 additions and 6 deletions
+15
View File
@@ -33,4 +33,19 @@ export class AttachmentsService {
return this.http.get<Attachment[]>(`${geturl}`, options);
}
getAttachments(source: number, sourceid: string): Observable<Attachment[]>{
let geturl = environment.apiURL + 'attachments/GetAttachments';
let params = new HttpParams();
params = params.set("Source", source.toString());
params = params.set("SourceId", sourceid);
let options = {
headers: this.headers,
params: params
};
return this.http.get<Attachment[]>(`${geturl}`, options);
}
}