コード例 #1
0
        public void RemoveCustomer(Customer customer)
        {
            CustomerMethods customerService = new CustomerMethods();

            var removedCustomer = new Domain.Customer
            {
                Id        = customer.Id,
                Firstname = customer.Firstname,
                Lastname  = customer.Lastname,
                Telephone = customer.Telephone,
                Email     = customer.Email
            };

            customerService.Remove(removedCustomer);
        }