コード例 #1
0
 public bool Edit(Customer customer)
 {
     if (customer == null)
     {
         return(false);
     }
     _customerAdminRepository.EditCustomer(customer);
     return(true);
 }
コード例 #2
0
        public bool EditCustomer(long id, string name, string phone)
        {
            var customer = new Customer()
            {
                id = id, Name = name, phone = phone
            };
            var ediCustomerSuccess = _customerAdminRepository.EditCustomer(customer);

            return(ediCustomerSuccess);
        }