Rename models on backend

This commit is contained in:
2023-01-05 19:25:32 +01:00
parent 2784c3ed7e
commit fd179d82ca
7 changed files with 32 additions and 32 deletions

View File

@@ -15,12 +15,12 @@ namespace WebAPI.Exports
googleDriveHelper = _googleDriveHelper;
googleSheetValues = _googleSheetValues;
}
public void export(DataSet dataSet)
public void export(Layer dataSet)
{
try
{
List<IList<object>> data = new List<IList<object>>() { new List<object>() { dataSet.Name, dataSet.Number } };
foreach (DataRow dataRow in dataSet.DataRows)
foreach (Record dataRow in dataSet.Records)
{
data.Add(new List<object> { dataRow.Code, dataRow.Value });
}