Example #1
0
        static void Main(string[] args)
        {
            NasaParser parser = new NasaParser(new FileSystem());

            NasaController controller = new NasaController(parser);

            var rovers = controller.Execute();

            foreach (var rover in rovers)
            {
                Console.WriteLine(rover);
            }
            Console.ReadKey();
        }
Example #2
0
 public NasaController(NasaParser _nasaParser)
 {
     nasaParser = _nasaParser;
 }