示例#1
0
        public AnuncioController()
        {
            _marcaApplication  = SimpleInjectorContainer.Container.GetInstance <IMarcaApplication>();
            _modeloApplication = SimpleInjectorContainer.Container.GetInstance <IModeloApplication>();
            _versaoAplication  = SimpleInjectorContainer.Container.GetInstance <IVersaoApplication>();

            _anuncioApplication = SimpleInjectorContainer.Container.GetInstance <IAnuncioApplication>();
        }
示例#2
0
 public HomeController(
     IAnuncioApplication anuncioApplication)
 {
     _anuncioApplication = anuncioApplication;
 }