import { Router , Request , Response } from 'express' ; import container from '../dependency-injection' ; import StatusController from '../controllers/StatusGetController' ; export const register = ( router ) => { const controller = container . get ( 'Apps.mooc.controllers.StatusGetController' ) ; router . get ( '/status' , ( req , res ) => controller . run ( req , res ) ) ; } ;