GetByBrand() 공개 메소드

Returns all products that match the given brand.
public GetByBrand ( string brand ) : IEnumerable
brand string String product brand
리턴 IEnumerable
 public void WhitespaceStringProductGetByBrandException()
 {
     ProductRepository testProductRepository = new ProductRepository();
     testProductRepository.GetByBrand("   ");
 }
 public void NullStringProductGetByBrandException()
 {
     ProductRepository testProductRepository = new ProductRepository();
     testProductRepository.GetByBrand(null);
 }