public UnitOfWork( ITestCategoryRepository categoryRepository, ITestOrderProductRepository orderProductRepository, ITestProductRepository productRepository, ITestOrderRepository orderRepository) { TestCategoryRepository = categoryRepository; TestOrderProductRepository = orderProductRepository; TestProductRepository = productRepository; TestOrderRepository = orderRepository; }
public TestOrderService(ITestOrderRepository dal, IMapper mapper, IUser httpUser) { this._dal = dal; base.baseDal = dal; _httpUser = httpUser; base._httpUser = httpUser; _mapper = mapper; base._mapper = mapper; }
public UnitOfWork( ITestCategoryRepository testCategories, ITestProductRepository testProducts, ITestOrderRepository testOrders, ITestProductCategoryRepository testProductCategories, ITestOrderProductRepository testOrderProducts) { TestCategories = testCategories; TestProducts = testProducts; TestOrders = testOrders; TestProductCategories = testProductCategories; TestOrderProducts = testOrderProducts; }
public HomeController(ITestOrderRepository orderRepository, IShipmentService shipmentService) { _orderRepository = orderRepository; _shipmentService = shipmentService; }
public ShipmentService(ITestOrderRepository orderRepository) { _orderRepository = orderRepository; }