public async Task <IActionResult> Delete(string id, [FromBody] Customer item) { await cmd.DeleteAsync(item); var e = new Envelope <string>($"Customer {item.Name} has been deleted successfully.", (int)HttpStatusCode.OK); return(Ok(e)); }