Пример #1
0
        public App() : base()
        {
            var kernel    = IoCContainer.Kernel;
            var container = new ModelContainer();

            kernel.Bind <ModelContainer>().ToConstant(container);
            Parametres.Init();
        }
Пример #2
0
 public Startup(IConfiguration configuration)
 {
     Configuration = configuration;
     Parametres.Init(configuration);
 }