Update League model with initialized empty Teams list and no longer be nullable.
This commit is contained in:
parent
6dcf07e90e
commit
64965c3fef
@ -3,5 +3,5 @@
|
|||||||
public class League : BaseDomainModel
|
public class League : BaseDomainModel
|
||||||
{
|
{
|
||||||
public string? Name { get; set; }
|
public string? Name { get; set; }
|
||||||
public List<Team>? Teams { get; set; }
|
public List<Team> Teams { get; set; } = new List<Team>() { };
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user