public void AddOutingToDirectory_ShouldReturnTrue()
        {
            Outings      outing    = new Outings();
            Outings_Repo repo      = new Outings_Repo();
            bool         addResult = repo.AddOutingToDirectory(outing);

            Assert.IsTrue(addResult);
        }
        public void GetOutingsList_ShouldReturnList()
        {
            Outings      outing = new Outings();
            Outings_Repo repo   = new Outings_Repo();

            repo.AddOutingToDirectory(outing);

            List <Outings> contents = repo.GetOutingsList();

            bool hasContent = contents.Contains(outing);

            Assert.IsTrue(hasContent);
        }
        private void SeedContent()
        {
            Outings outing1 = new Outings(new DateTime(2020, 4, 30), EventType.GOLF, 10000m, 200, 50m);
            Outings outing2 = new Outings(new DateTime(2020, 5, 22), EventType.BOWLING, 5000m, 200, 25m);
            Outings outing3 = new Outings(new DateTime(2020, 5, 29), EventType.BOWLING, 500m, 10, 50m);
            Outings outing4 = new Outings(new DateTime(2020, 6, 21), EventType.AMUSEMENTPARK, 20000m, 400, 50m);
            Outings outing5 = new Outings(new DateTime(2020, 7, 4), EventType.CONCERT, 50000m, 500, 100m);

            _repo.AddOutingToDirectory(outing1);
            _repo.AddOutingToDirectory(outing2);
            _repo.AddOutingToDirectory(outing3);
            _repo.AddOutingToDirectory(outing4);
            _repo.AddOutingToDirectory(outing5);
        }