- added page with evalutions;

- added page with amendements;
- implemented communication for amendment;
- implemented amendment creation;
This commit is contained in:
Vitalii Kiiko
2024-10-31 10:06:32 +01:00
parent d8ea017023
commit 5ecf4b5181
5 changed files with 56 additions and 36 deletions

View File

@@ -12,6 +12,10 @@ export default class AmendmentsService {
NetworkService.get(`${API_BASE_URL}/amendments`, callback, errCallback, queryParams);
};
static getSoccorsoByPreInstructorId = (id, callback, errCallback, queryParams) => {
NetworkService.get(`${API_BASE_URL}/amendments/user/${id}`, callback, errCallback, queryParams);
};
static createSoccorso = (body, callback, errCallback, queryParams) => {
NetworkService.post(`${API_BASE_URL}/amendments`, body, callback, errCallback, queryParams);
};