import { autowired } from "../../src" ; import type { TestModel } from "../models/TestModel" ; import { ImplProductionService } from "../services/ImplProductionService" ; export class Controller { @ autowired ( ) private readonly productionService ! : ImplProductionService ; public async getCounter ( ) { return this . productionService . getCounter ( ) ; } public async getData ( ) { return this . productionService . getData ( ) ; } }