Пример #1
0
        public bool AddEventToList(C4_Outings newItem)
        {
            int startingCount = outings.Count;

            outings.Add(newItem);
            bool wasAdded = (outings.Count > startingCount) ? true : false;

            return(wasAdded);
        }
Пример #2
0
        public bool DeleteExistingOuting(C4_Outings existingOuting)
        {
            bool deleteResult = outings.Remove(existingOuting);

            return(deleteResult);
        }