public virtual void RestoreLists() { if (string.IsNullOrWhiteSpace(InventoryItems)) { InventoryList = new List <string>(); } else { InventoryList = InventoryItems.AsList(); } }
public virtual void RestoreLists() { InventoryList = InventoryItems?.AsList(); }