Driver Mileage export
This commit is contained in:
@@ -18,5 +18,10 @@ namespace MileageTraker.Web.ViewModels
|
||||
Items = items;
|
||||
Query = query;
|
||||
}
|
||||
|
||||
public IEnumerable<DriverMileageFlattenedViewModel> Flatten()
|
||||
{
|
||||
return Items.SelectMany(i => i.Flatten());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user