account changes
This commit is contained in:
@@ -3,16 +3,16 @@ 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,
|
||||
typesOfCommercialProperty:this.selectOptionsService.typesOfCommercialProperty,
|
||||
}
|
||||
}
|
||||
constructor(private selectOptionsService: SelectOptionsService) {}
|
||||
@Get()
|
||||
getSelectOption(): any {
|
||||
return {
|
||||
typesOfBusiness: this.selectOptionsService.typesOfBusiness,
|
||||
prices: this.selectOptionsService.prices,
|
||||
listingCategories: this.selectOptionsService.listingCategories,
|
||||
customerTypes: this.selectOptionsService.customerTypes,
|
||||
locations: this.selectOptionsService.locations,
|
||||
typesOfCommercialProperty: this.selectOptionsService.typesOfCommercialProperty,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user