public string GetStorePath(long datasetId, long datasetVersionOrderNr)
{
string dataPath = AppConfiguration.DataPath; //Path.Combine(AppConfiguration.WorkspaceRootPath, "Data");
//data/datasets/1/1/
string storePath = Path.Combine(dataPath, "Datasets", datasetId.ToString(), "DatasetVersions");
if (Directory.Exists(dataPath))
{
// if folder not exist
if (!Directory.Exists(storePath))
{
Directory.CreateDirectory(storePath);
}
}
return storePath;
}