public HistoryViewModel(Supply supply, List <History> histories) { SupplyName = supply.GetFullName(); Items = histories.Select(x => new Item(x)).ToList(); }