Ejemplo n.º 1
0
        public static Product GetByName(string name)
        {
            ProductService productService = new ProductService(ProductRepository.GetInstance());

            return(productService.GetByName(name));
        }
Ejemplo n.º 2
0
 public ProductApplication()
 {
     _productService = new ProductService(ProductRepository.GetInstance());
 }