public IHttpActionResult Delete([FromBody] int id) { try { return(Content(HttpStatusCode.OK, _addressManager.Delete(new int[] { id }))); } catch (Exception ex) { return(Content(HttpStatusCode.InternalServerError, ex.Message)); } }