예제 #1
0
 public void Delete(string name)
 {
     _productStore.RemoveProduct(name);
 }
예제 #2
0
 public IEnumerable <Product> Delete(string name)
 {
     _productStore.RemoveProduct(name);
     return(_productStore.Products);
 }