public void CreateAnInstanceOfEfDbContext()
        {
            // Arrange, Act
            var actualResult = EfDbContext.Create();

            // Assert
            Assert.IsInstanceOf <EfDbContext>(actualResult);
        }
Exemple #2
0
 public CategoryService() : base(new UnitOfWork(EfDbContext.Create()))
 {
 }
 public ProductService() : base(new UnitOfWork(EfDbContext.Create()))
 {
 }