public Customer Add(Customer customer)
 {
     return(_context.AddCustomer(customer));
 }
示例#2
0
        public Customer CreateCustomer(Customer customer)
        {
            var newCustomer = _sampleContext.AddCustomer(customer);

            return(newCustomer);
        }