コード例 #1
0
        internal static void AddCustomer(Customer customer)
        {
            var list = Customers.ToList();
            list.Add(customer);

            Customers = list.AsEnumerable();
        }
コード例 #2
0
        internal static void RemoveCustomer(Customer customer)
        {
            var list = Customers.ToList();
            list.Remove(customer);

            Customers = list.AsEnumerable();
        }