Example #1
0
 public IActionResult GetDataPreview(string datasetId)
 {
     try
     {
         var dt = _exportService.ExportDatasetForPreview(datasetId);
         return(new OkObjectResult(dt));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }