Rename models on backend
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user