public double GetAverageHorsepower() { if (ModelList.Count > 0) { double averageHorsepower = ModelList .Average(v => v.Horsepower); return(averageHorsepower); } return(0); }