public int EventCost() { Outings outing = new Outings(); int product = outing.TotalCostPerPerson * outing.NumberOfPeopleAttended; return(product); }
public bool AddOutingToList(Outings outing) { int StartingCount = _listOfOutings.Count; _listOfOutings.Add(outing); bool wasAdded = (_listOfOutings.Count > StartingCount) ? true : false; return(wasAdded); }