Replace more Employee with Driver
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace MileageTraker.Web.ViewModels
|
||||
{
|
||||
public class DriverMileageItem
|
||||
{
|
||||
public string DriverName { get; set; }
|
||||
public int Miles { get; set; }
|
||||
public double GasPurchased { get; set; }
|
||||
public IEnumerable<Tuple<Models.Log, Models.Log>> LogPairs { get; set; }
|
||||
public int TripCount { get { return LogPairs.Count(); } }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user