What I will suggest to you is to replace the Array
by a List
or better an generic interface ICollection
. And then try again. Working with array you need to intialize it in the constructor.
public class Region
{
public int RegionId { get; set; }
public string RegionCode { get; set; }
public string ApiUrl { get; set; }
public ICollection<Universe> Universes { get; set; }
}