Exemplo n.º 1
0
        public static void EditAPlanet(string fileName)
        {
            Console.Clear();
            Console.WriteLine("Perhaps the archives are incomplete?\n");
            var fileContents = ReadDocument.ReadFileforList(fileName);

            EditPlanet.AlterSWPlanets(fileName, fileContents);
            Confirmations.Return();
        }
Exemplo n.º 2
0
        public static void DeleteAPlanet(string fileName)
        {
            Console.Clear();
            Console.WriteLine("I felt a great disturbance in the Force, as if millions of voices suddenly cried out in terror and were suddenly silenced.\n");
            var fileContents = ReadDocument.ReadFileforList(fileName);

            EditPlanet.DeleteSWPlanets(fileName, fileContents);
            Confirmations.Return();
        }