Example #1
0
        private static void ListSeries()
        {
            Console.WriteLine("1- To list series");

            var list = repository.FindAll();

            if (list.Count == 0)
            {
                Console.WriteLine("No series registered");
                return;
            }

            foreach (var item in list)
            {
                var delete = item.ReturnDelete();

                Console.WriteLine("#ID {0}: - {1} {2}", item.getId(), item.getTitle(), (delete ? "*Delete*" : ""));
            }
        }