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

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