public static XDocument Serialize(House house)
        {
            var emptyNamespaces = new XmlSerializerNamespaces();
            emptyNamespaces.Add(string.Empty, string.Empty);

            var serializer = new XmlSerializer(house.GetType());
            var textWriter = new StringWriter();

            serializer.Serialize(textWriter, house, emptyNamespaces);

            return XDocument.Parse(textWriter.ToString());
        }
 public HousePainter(House house)
 {
     this.house = house;
 }