public Result <string> CreateDataSetSpreadsheet(string projectName, string projectAndCommitUrl, NewSpreadSheetColumnModel columnModel) { //TODO: Once we establish some DB, we can have the export to excel operation be separate from the "CreateDataSet" var gitFolderPath = _basePath + projectName + Path.DirectorySeparatorChar + "git"; _codeRepository.SetupRepository(projectAndCommitUrl, gitFolderPath); var dataSet = CreateDataSetFromRepository(projectAndCommitUrl, gitFolderPath); var excelFileName = ExportToExcel(projectName, columnModel, dataSet); return(Result.Ok(excelFileName)); }