public static School Create(string name, string address1, string address2) { var school = new School { Id = new Guid("ff1e7fc8-112a-42a7-a203-9b8e13902c16"), Name = name }; school.AddChild(address1); school.AddChild(address2); return school; }
public static Child Create(School customer, string street) { return new Child { Id = Guid.NewGuid(), School = customer, Street = street }; }