// DELETE api/products/5 public IHttpActionResult Delete(int id) { _service.DeleteProductById(id); return(Ok()); }