public ProductOptionsController() { _productOptionsRepository = new ProductOptionsRepository(); _productOptionsService = new ProductOptionsService(); }
public ProductOptionsController() { _productOptionService = new ProductOptionsService(); }
public ProductsController(ILogger <ProductsController> logger, IProductsService productsService, IProductOptionsService productOptionsService) { _logger = logger; _productsService = productsService; _productOptionsService = productOptionsService; }
public ProductsController(IProductsService products, IProductOptionsService options) { _products = products; _options = options; }
public void SetUp() { _repo = new Mock <IProductOptionsRepository>(MockBehavior.Strict); _service = new ProductOptionsService(_repo.Object); }
public ProductOptionsController(IProductOptionsService productOptionsService) { _productOptionsService = productOptionsService; }
public ProductOptionsController(IProductOptionsService service, IMapper mapper) { _service = service; _mapper = mapper; }