Пример #1
0
        public static Product GetByName(string name)
        {
            ProductService productService = new ProductService(ProductRepository.GetInstance());

            return(productService.GetByName(name));
        }
Пример #2
0
 public ProductApplication()
 {
     _productService = new ProductService(ProductRepository.GetInstance());
 }