public IHttpActionResult ParseXml() { var xmlData = Request.Content.ReadAsStringAsync().Result; if (!string.IsNullOrEmpty(xmlData)) { return(Ok(_parcelService.ProcessData(xmlData))); } return(null); }