Driver Mileage export

This commit is contained in:
2015-10-23 21:40:52 -04:00
parent ad13d9f5b4
commit 1fb8c54076
7 changed files with 55 additions and 5 deletions
+5
View File
@@ -18,5 +18,10 @@ namespace MileageTraker.Web.ViewModels
Items = items;
Query = query;
}
public IEnumerable<DriverMileageFlattenedViewModel> Flatten()
{
return Items.SelectMany(i => i.Flatten());
}
}
}