예제 #1
0
 /// <summary>
 /// Gets all product options.
 /// </summary>
 /// <returns>IEnumerable&lt;ProductOption&gt;.</returns>
 public IEnumerable <ProductOption> GetAllProductOptions()
 {
     return(_productOptionRepository.GetAll());
 }
예제 #2
0
 public IEnumerable <ProductOption> GetOptions(Guid productId)
 {
     return(_productOptionRepository.GetAll(productId));
 }