Exemple #1
0
 public void AddAddress(Customer customer, Address address)
 {
     customer.Addresses.Add(address);
     _customerRepository.Database.SaveChanges();
 }
 public ShippingAddressChanged(ShoppingCart cart, Address address)
 {
     CartId = cart.Id;
     ShippingAddressId = address.Id;
 }