public OrdersControllerUnitTest() { _computerShopDbContext = new ComputerShopDbContextMock(); _ordersController = new OrdersController(_computerShopDbContext); }
public ProductsControllerUnitTest() { _computerShopDbContext = new ComputerShopDbContextMock(); _productsController = new ProductsController(_computerShopDbContext.Products, _computerShopDbContext); }