public IHttpActionResult RequestDetails() { try { var result= getPlDetail.Details(); if (result != null) { XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load(result); return Ok(xmlDoc); } else { return BadRequest(); } } catch (Exception ex) { return BadRequest(); } }
return Ok(xmlDoc);
WebAPI
Accept
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)