using System; using System.Collections.Generic; using System.Linq; using MileageTraker.Web.Models; namespace MileageTraker.Web.ViewModels { public class EmployeeMileageItem { public string EmployeeName { get; set; } public int Miles { get; set; } public double GasPurchased { get; set; } public IEnumerable> LogPairs { get; set; } public int TripCount { get { return LogPairs.Count(); } } } }