Exemplo n.º 1
0
        protected BaseServiceFixture(bool createContext = true)
        {
            if (!createContext)
            {
                return;
            }

            Context = InMemoryContextBuilder.CreateContext();

            InitDatabase();

            Context.SaveChanges();
        }
Exemplo n.º 2
0
 public CategoryRepository(CategorizableDbContext context) : base(context)
 {
 }