Track source filename for FuelLog
This commit is contained in:
@@ -129,6 +129,9 @@ namespace MileageTraker.Web.Controllers
|
||||
try
|
||||
{
|
||||
var fuelLogs = FuelmanCsvImporter.Import(fileInfo);
|
||||
foreach (var fuelLog in fuelLogs)
|
||||
fuelLog.SourceFilename = fileName;
|
||||
|
||||
// todo: delete file?
|
||||
|
||||
var fls = (from fuelLog in fuelLogs
|
||||
|
||||
Reference in New Issue
Block a user