public IHttpActionResult Delete(int id) { productService.Delete(id); return(Ok()); }
public IActionResult Delete([FromForm] string id) { _productDao.Delete(id); return(Ok()); }
public void Delete(int id) { _productDao.Delete(id); }
public IResult Delete(Product product) { _productDao.Delete(product); return(new SuccessResult(true, ResultMessages.ProductDeleted)); }
public int Delete(int id) { return(_productDao.Delete(id)); }
public async Task Delete(IReadOnlyList <int> ids) => await _dao.Delete(ids);
public void Delete(Product entity) { _productDao.Delete(entity); }
public void RemoveProduct(Guid id) { GetProductIfExist(id); _IProductDao.Delete(id.ToString()); }