Example #1
0
        public ConfigRepository(IContextDb context)
        {
            _context = context;

            if (!_context.DatabaseExists())
            {
                _context.CreateDatabase();
                Insert(new Configuration());
            }
        }