예제 #1
0
 public ParentProductCategoryService(IParentProductCategoryRepository parentProductCategory, IUnitOfWork unitOfWork)
 {
     this._parentProductCategory = parentProductCategory;
     this._unitOfWork            = unitOfWork;
 }
 public void testInitialize()
 {
     _dbFactory         = new DbFactory();
     _productRepository = new ParentProductCategoryRepository(_dbFactory);
     _unitOfWork        = new UnitOfWork(_dbFactory);
 }