Exemplo n.º 1
0
        public void RemoveOutingFromList()
        {
            DisplayAllOutings();
            Console.WriteLine("\nEnter the Name of the Outing you Want to Remove:");
            string outing = Console.ReadLine();

            bool wasDeleted = _outingsRepo.RemoveOuting(outing);

            if (wasDeleted)
            {
                Console.WriteLine("\nThe Outing was Successfully Removed!");
            }
            else
            {
                Console.WriteLine("\nThe Outing could not be Removed!");
            }
        }
Exemplo n.º 2
0
        public void DeleteOuting_ShouldReturnFalse()
        {
            bool deleteResult = _repo.RemoveOuting(_outings.OutingName);

            Assert.IsTrue(deleteResult);
        }