We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c59c5e commit 6dcc6f8Copy full SHA for 6dcc6f8
2 files changed
src/Services/Marketing/Marketing.API/Model/Campaing.cs
@@ -15,6 +15,12 @@ public class Campaign
15
16
public string Url { get; set; }
17
18
- public ICollection<Rule> Rules { get; set; }
+ public List<Rule> Rules { get; set; }
19
+
20
21
+ public Campaign()
22
+ {
23
+ Rules = new List<Rule>();
24
+ }
25
}
26
src/Services/Marketing/Marketing.API/Model/Rule.cs
@@ -1,4 +1,4 @@
1
-using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations.Schema;
2
3
namespace Microsoft.eShopOnContainers.Services.Marketing.API.Model
4
{
@@ -26,4 +26,4 @@ public class UserLocationRule : Rule
27
public int LocationId { get; set; }
28
29
-}
+}
0 commit comments