Loading backend/src/state/state.controller.ts 0 → 100644 +13 −0 Original line number Diff line number Diff line import { Controller, Get } from '@nestjs/common'; import { StateService } from './state.service'; @Controller('state') @Controller('town') export class StateController { constructor(private readonly stateService: StateService) {} @Get() findAll() { return this.stateService.findAll(); } } Loading
backend/src/state/state.controller.ts 0 → 100644 +13 −0 Original line number Diff line number Diff line import { Controller, Get } from '@nestjs/common'; import { StateService } from './state.service'; @Controller('state') @Controller('town') export class StateController { constructor(private readonly stateService: StateService) {} @Get() findAll() { return this.stateService.findAll(); } }