We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f7f16 commit 79c39d0Copy full SHA for 79c39d0
samples/angular/MusicStore/Apis/Models/Album.cs
@@ -23,7 +23,7 @@ public Album()
23
public string Title { get; set; }
24
25
[Required]
26
- [RangeAttribute(typeof(double), "0.01", "100")] // Long-form constructor to work around https://github.com/dotnet/coreclr/issues/2172
+ [RangeAttribute(typeof(decimal), "0.01", "100")] // Long-form constructor to work around https://github.com/dotnet/coreclr/issues/2172
27
[DataType(DataType.Currency)]
28
public decimal Price { get; set; }
29
@@ -37,4 +37,4 @@ public Album()
37
38
public virtual ICollection<OrderDetail> OrderDetails { get; set; }
39
}
40
-}
+}
0 commit comments