Esempio n. 1
0
        public void Can_Get_Cat()
        {
            EFUnitOfWork ef = new EFUnitOfWork();

            var sample = new Category() { Name = "yura skaki" };

            ef.Categories.Create(sample);

            Assert.NotNull(ef.Categories.GetAll());
        }
 public PeriodicalRoleProvider()
 {
     Db = new EFUnitOfWork();
 }