public Site(Guid tenantId, string siteName, string siteDescription, bool active ) { this.TenantId = tenantId; this.Id = Guid.NewGuid(); this.Name = siteName; this.Description = siteDescription; this.Active = active; this.ContactInformation = ContactInformation.Empty(); this.Locations = new ObservableCollection <Location>(); this.Staffs = new ObservableCollection <Staff>(); //Locations = new ObservableCollection<Location>(); //ApplyChange(new SiteCreatedEvent(this.Id, siteName, siteDescription, active, tenantId.Id, contactInformation.ContactName, contactInformation.PrimaryTelephone, contactInformation.SecondaryTelephone)); }