コード例 #1
0
 public async Task <bool> Delete(Product product)
 {
     _productContext.Remove(product);
     return(await Save());
 }
コード例 #2
0
 public async Task <bool> Delete(Country country)
 {
     _productContext.Remove(country);
     return(await Save());
 }
コード例 #3
0
 public async Task <bool> Delete(Category category)
 {
     _productContext.Remove(category);
     return(await Save());
 }