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!"); } }
public void DeleteOuting_ShouldReturnFalse() { bool deleteResult = _repo.RemoveOuting(_outings.OutingName); Assert.IsTrue(deleteResult); }