public IActionResult Delete(int id) { if (!_sampleContext.DeleteCustomer(id)) { return(HttpNotFound()); } return(new NoContentResult()); }
public IActionResult Delete(int id) { if (!_sampleContext.DeleteCustomer(id)) { return(HttpNotFound()); } return(new NoContentResult()); }