public IActionResult AddDataset([FromBody] DatasetDTO datasetDTO) { var addedDataset = _datasetService.addDataset(datasetDTO); if (addedDataset != null) { return(new CreatedAtActionResult("GET", "GetDatasetById", new { datasetId = addedDataset.Id }, addedDataset)); } return(new StatusCodeResult(StatusCodes.Status409Conflict)); }