Exemplo n.º 1
0
 public ProductService(ProductRepositoryBase productRepository)
 {
     _productRepository = productRepository;
 }
Exemplo n.º 2
0
 public CategoryService(CategoryRepositoryBase categoryRepository, ProductRepositoryBase productRepository)
 {
     _categoryRepository = categoryRepository;
     _productRepository  = productRepository;
 }
 public ProductService(ProductRepositoryBase productRepository, CategoryRepositoryBase categoryRepository)
 {
     _productRepository  = productRepository;
     _categoryRepository = categoryRepository;
 }