Пример #1
0
        public HomeHandler(IConfiguration configuration, IHostingEnvironment _hostingEnvironment)
        {
            var factory = new ProcessorFactoryResolver <IHomeRepositories>(configuration);

            _homeRepositories = factory.CreateProcessor();
            var mfactory = new ProcessorFactoryResolver <IMasterDataRepository>(configuration);

            masterDataRepository = mfactory.CreateProcessor();
            hostingEnviroment    = _hostingEnvironment;
        }