public IHttpActionResult GetUsedInventoryReport(string report) { _listingManager = ListingManagerFactory.Create(); try { var result = _listingManager.GetInventoryReport(report); return(Ok(result.Payload)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }