Total Price => Total Cost

This commit is contained in:
2015-11-02 09:43:06 -05:00
parent 9f0c410c65
commit bcf2207d7b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -11,6 +11,6 @@ namespace MileageTraker.Web.ViewModels.Vehicle
public IList<VehicleCostItem> CostItems { get; set; }
[Currency]
public decimal TotalPrice { get { return CostItems.Sum(i => i.TotalPrice); } }
public decimal TotalCost { get { return CostItems.Sum(i => i.TotalPrice); } }
}
}