initial release
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { Controller, Get } from '@nestjs/common';
|
||||
import { SelectOptionsService } from './select-options.service.js';
|
||||
|
||||
@Controller('select-options')
|
||||
export class SelectOptionsController {
|
||||
constructor(private selectOptionsService:SelectOptionsService){}
|
||||
@Get()
|
||||
getSelectOption():any{
|
||||
return {
|
||||
typesOfBusiness:this.selectOptionsService.typesOfBusiness,
|
||||
prices:this.selectOptionsService.prices,
|
||||
listingCategories:this.selectOptionsService.listingCategories,
|
||||
categories:this.selectOptionsService.categories,
|
||||
locations:this.selectOptionsService.locations,
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user