modified route
This commit is contained in:
parent
2a6329bb9e
commit
4a26d65bfb
@ -14,7 +14,7 @@ export class CarnetSequenceController {
|
||||
return this.carnetSequenceService.getCarnetSequence(body);
|
||||
}
|
||||
|
||||
@ApiTags('Carnet Sequence - Oracle')
|
||||
@ApiTags('Carnet Sequence - Mssql')
|
||||
@Post('/CreateCarnetSequence/')
|
||||
createCarnetSequence(@Body() body: CreateCarnetSequenceDTO) {
|
||||
return this.carnetSequenceService.createCarnetSequence(body);
|
||||
|
||||
@ -27,19 +27,19 @@ export class SpContactsController {
|
||||
return this.spContactsService.getSpAllContacts(body);
|
||||
}
|
||||
|
||||
@ApiTags('SPContacts - Oracle')
|
||||
@ApiTags('SPContacts - Mssql')
|
||||
@Post('/InsertSPContacts')
|
||||
insertSPContacts(@Body() body: InsertSPContactsDTO) {
|
||||
return this.spContactsService.insertSPContacts(body);
|
||||
}
|
||||
|
||||
@ApiTags('SPContacts - Oracle')
|
||||
@ApiTags('SPContacts - Mssql')
|
||||
@Post('/SetSPDefaultContact')
|
||||
setSPDefaultcontact(@Query() body: setSPDefaultcontactDTO) {
|
||||
return this.spContactsService.setSPDefaultcontact(body);
|
||||
}
|
||||
|
||||
@ApiTags('SPContacts - Oracle')
|
||||
@ApiTags('SPContacts - Mssql')
|
||||
@Put('/UpdateSPContacts')
|
||||
updateSPContacts(@Body() body: UpdateSPContactsDTO) {
|
||||
return this.spContactsService.updateSPContacts(body);
|
||||
|
||||
@ -20,13 +20,13 @@ export class SpController {
|
||||
return this.spService.getSpBySpid(body);
|
||||
}
|
||||
|
||||
@ApiTags('SP - Oracle')
|
||||
@ApiTags('SP - Mssql')
|
||||
@Post('/InsertNewServiceProvider')
|
||||
insertNewServiceProvider(@Body() body: InsertNewServiceProviderDTO) {
|
||||
return this.spService.insertNewServiceProvider(body);
|
||||
}
|
||||
|
||||
@ApiTags('SP - Oracle')
|
||||
@ApiTags('SP - Mssql')
|
||||
@Put('/UpdateServiceProvider')
|
||||
updateServiceProider(@Body() body: UpdateServiceProviderDTO) {
|
||||
return this.spService.updateServiceProvider(body);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user