public async Task <IHttpActionResult> DeleteCustomer([FromUri] int id) { await _customerService.DeleteCustomerAsync(id); return(ResponseMessage(Request.CreateResponse(HttpStatusCode.NoContent))); }
public async Task <IHttpActionResult> DeleteCustomer([FromUri] int id) { await _customerService.DeleteCustomerAsync(id); return(ResponseMessage(Request.CreateResponse(HttpStatusCode.NoContent))); }