Пример #1
0
        public int TotalCount()
        {
            int b = Bicycles != null?Bicycles.Count() : 0;

            int a = Accessories != null?Accessories.Count() : 0;

            return(a + b);
        }
Пример #2
0
 public void RemoveAccessories(Accessories accessories)
 {
     Accessories.Remove(accessories);
 }
Пример #3
0
 public void AddAccessories(Accessories accessories)
 {
     Accessories.Add(accessories);
 }