Esempio n. 1
0
        public int EventCost()
        {
            Outings outing  = new Outings();
            int     product = outing.TotalCostPerPerson * outing.NumberOfPeopleAttended;

            return(product);
        }
Esempio n. 2
0
        public bool AddOutingToList(Outings outing)
        {
            int StartingCount = _listOfOutings.Count;

            _listOfOutings.Add(outing);
            bool wasAdded = (_listOfOutings.Count > StartingCount) ? true : false;

            return(wasAdded);
        }