public void Load(IInjector injector) { new CoreBootstrapper().Load(injector); new DataBootstrapper().Load(injector); new DomainBootstrapper().Load(injector); injector.AddSingleton <IAppConfiguration, ApplicationConfiguration>(); injector.AddTransient <IAutenticacao, AutenticacaoJwt>(); }
public void Load(IInjector injector) { injector.AddTransient <IUsuarioService, UsuarioService>(); injector.AddTransient <IClienteService, ClienteService>(); injector.AddTransient <IServicoPrestadoService, ServicoPrestadoService>(); injector.AddTransient <IFornecedorService, FornecedorService>(); injector.AddTransient <IUserContext, UserContext>(); injector.AddTransient <IEstatisticaService, EstatisticaService>(); injector.AddTransient <IFiltroBuilderFactory, FiltroBuilderFactory>(); }
public void Load(IInjector injector) { injector.AddTransient <IDataContext, EntityFrameworkContext>(); }
public void Load(IInjector injector) { injector.AddTransient <ILog, LogProvider>(); }
public void Load(IInjector injector) { injector.AddTransient <IDataContext, Contexto>(); }
public void Load(IInjector injector) { injector.AddTransient <IRepository, Repository>(); }
public void Load(IInjector injector) { injector.AddTransient <ITipoPagamentoAdapter, TipoPagamentoAdapter>(); injector.AddTransient <ITipoPagamentoService, TipoPagamentoService>(); }