Example #1
0
        static void Main()
        {
            Program             Program = new Program();
            MovieTicketsService _movieTicketsService = new MovieTicketsService();
            var transactionList = Program.ReadJson();

            foreach (var t in transactionList)
            {
                var wholeTransaction = _movieTicketsService.ProcessTransaction(t);
                _movieTicketsService.Display(wholeTransaction);
            }
            Console.ReadLine();
        }
Example #2
0
 public void Setup()
 {
     _movieTicketsService = new MovieTicketsService();
 }