9.3.2 Adding the Checkout Process; Listing 9-13 Applying the Display attribute to the ShippingDetails.cs File
This commit is contained in:
parent
9491c62113
commit
41f564e967
@ -13,8 +13,11 @@ namespace SportsStore.Domain.Entities
|
||||
public string Name { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "Please enter the first address line")]
|
||||
[Display(Name = "Line 1")]
|
||||
public string Line1 { get; set; }
|
||||
[Display(Name = "Line 2")]
|
||||
public string Line2 { get; set; }
|
||||
[Display(Name = "Line 3")]
|
||||
public string Line3 { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "Please enter a city name")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user