Ejemplo n.º 1
0
 public async Task <bool> Delete(Product product)
 {
     _productContext.Remove(product);
     return(await Save());
 }
 public async Task <bool> Delete(Country country)
 {
     _productContext.Remove(country);
     return(await Save());
 }
 public async Task <bool> Delete(Category category)
 {
     _productContext.Remove(category);
     return(await Save());
 }