Пример #1
0
        public UniTest()
        {
            var container = new UnityContainer();

            ConsomeBusiness(container);
            DadosProducao(container);

            _repoOfx     = container.Resolve <IRepositoryOFX>();
            _businessofx = container.Resolve <IBusinessOFX>();
        }
Пример #2
0
 public HomeController(IBusinessOFX businessofx)
 {
     _businessofx = businessofx;
 }