Browse Source

Fixed order details summary in WebMVC

pull/1658/head
Sumit Ghosh 3 years ago
parent
commit
fd5c973cfe
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      src/Web/WebMVC/ViewModels/Order.cs

+ 2
- 5
src/Web/WebMVC/ViewModels/Order.cs View File

@ -54,11 +54,8 @@ namespace Microsoft.eShopOnContainers.WebMVC.ViewModels
public List<SelectListItem> ActionCodeSelectList =>
GetActionCodesByCurrentState();
// See the property initializer syntax below. This
// initializes the compiler generated field for this
// auto-implemented property.
public List<OrderItem> OrderItems { get; } = new List<OrderItem>();
public List<OrderItem> OrderItems { get; set; }
[Required]
public Guid RequestId { get; set; }


Loading…
Cancel
Save