public ActionResult GetDataSetContent([FromServices] IDataSetsService dataSetsService, [FromRoute] string id)
        {
            if (string.IsNullOrWhiteSpace(id))
            {
                return(BadRequest());
            }
            var dataSet = dataSetsService.GetDataSet(id);

            return(Content(dataSet.ToString(), "application/json"));
        }
        public ActionResult GetDataSetContent([FromServices] IDataSetsService dataSetsService, [FromRoute] string id)
        {
            if (string.IsNullOrWhiteSpace(id))
            {
                return(BadRequest());
            }
            var dataSet = (string)dataSetsService.GetDataSet(id);

            return(new ContentResult {
                Content = dataSet, ContentType = "application/json"
            });
        }