public UnitOfWork( ITestCategoryRepository categoryRepository, ITestOrderProductRepository orderProductRepository, ITestProductRepository productRepository, ITestOrderRepository orderRepository) { TestCategoryRepository = categoryRepository; TestOrderProductRepository = orderProductRepository; TestProductRepository = productRepository; TestOrderRepository = orderRepository; }
public UnitOfWork( ITestCategoryRepository testCategories, ITestProductRepository testProducts, ITestOrderRepository testOrders, ITestProductCategoryRepository testProductCategories, ITestOrderProductRepository testOrderProducts) { TestCategories = testCategories; TestProducts = testProducts; TestOrders = testOrders; TestProductCategories = testProductCategories; TestOrderProducts = testOrderProducts; }