Пример #1
0
        public WelcomeDmService(ServiceDependencyMap map)
        {
            _dbContext = new WelcomeDbContext();
            map.Add(_dbContext);

            _assetsDir = Path.Combine(Directory.GetCurrentDirectory(), "Assets");
        }
Пример #2
0
 public SegmentTypeReader(ServiceDependencyMap depMap)
 {
     _dbContext = depMap.Get <WelcomeDbContext>();
 }