diff --git a/src/Web/WebMVC/ViewModels/Order.cs b/src/Web/WebMVC/ViewModels/Order.cs index 23242191a..7b8d2b499 100644 --- a/src/Web/WebMVC/ViewModels/Order.cs +++ b/src/Web/WebMVC/ViewModels/Order.cs @@ -54,11 +54,8 @@ namespace Microsoft.eShopOnContainers.WebMVC.ViewModels public List ActionCodeSelectList => GetActionCodesByCurrentState(); - - // See the property initializer syntax below. This - // initializes the compiler generated field for this - // auto-implemented property. - public List OrderItems { get; } = new List(); + + public List OrderItems { get; set; } [Required] public Guid RequestId { get; set; }