16 lines
403 B
TypeScript
16 lines
403 B
TypeScript
|
|
import { Controller, Get } from '@nestjs/common';
|
||
|
|
import { ApiTags } from '@nestjs/swagger';
|
||
|
|
import { SpService } from './sp.service';
|
||
|
|
|
||
|
|
@Controller('mssql')
|
||
|
|
export class SpController {
|
||
|
|
|
||
|
|
constructor(private readonly spService: SpService) {}
|
||
|
|
|
||
|
|
@ApiTags('SP - Mssql')
|
||
|
|
@Get('/GetAllServiceproviders')
|
||
|
|
getAllServiceproviders() {
|
||
|
|
return this.spService.getAllServiceproviders();
|
||
|
|
}
|
||
|
|
}
|