Example #1
0
        protected BaseServiceFixture(bool createContext = true)
        {
            if (!createContext)
            {
                return;
            }

            Context = InMemoryContextBuilder.CreateContext();

            InitDatabase();

            Context.SaveChanges();
        }
Example #2
0
 public CategoryRepository(CategorizableDbContext context) : base(context)
 {
 }