Exemple #1
0
        public static void RemoveApartmentCategory(ApartmentCategory category)
        {
            XmlApartmentCategoryWriter writer = new XmlApartmentCategoryWriter(ApartmentCategoryFile);

            writer.RemoveElement(category);
        }
Exemple #2
0
        public static void AddApartmentCategory(ApartmentCategory category)
        {
            XmlApartmentCategoryWriter writer = new XmlApartmentCategoryWriter(ApartmentCategoryFile);

            writer.AppendElement(category);
        }