public void LoadFromXml(XElement xElement)
        {
            Id = xElement.GetAttributeValue<string>("Id");
            //throw new NotImplementedException();
            Name = xElement.GetElementValue<string>("Name");
            PointOfContact = xElement.GetElementValue<string>("PointOfContact");
            PhoneNumber = xElement.GetElementValue<string>("PhoneNumber");
            Comments = xElement.GetElementValue<string>("Comments");

            foreach (XElement addressesElement in xElement.Elements("Addresses"))
            {
                foreach (XElement addressElement in addressesElement.Elements("Address"))
                {
                    Address address = new Address();

                    address.LoadFromXml(addressElement);

                    Addresses.Add(address);
                }
            }
        }
        Vendor CreateVendor()
        {
            Vendor newVendor = new Vendor();
            Address address = new Address();

            newVendor.Addresses.Add(address);

            return newVendor;
        }