예제 #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());
 }