Import FuelLog

This commit is contained in:
2015-09-09 22:45:27 -04:00
parent f3a7249793
commit 56dd091178
21 changed files with 500 additions and 15 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ namespace MileageTraker.Web.DAL
var missingHeaderColumns = GetMissingHeaderColumns(columnIndex.Keys);
if (missingHeaderColumns.Any())
{
throw new LogImportException(string.Format("Excel document missing columns: {0}", string.Join(", ", missingHeaderColumns)));
throw new ImportException(string.Format("Excel document missing columns: {0}", string.Join(", ", missingHeaderColumns)));
}
for (var r = 1; r <= sheet.Cells.LastRowIndex; r++)