Esempio n. 1
0
 public void SetDeliveryAddress(int addressId)
 {
     //Setting Delivery Addreess for each product
     foreach (Product p in c.cart)
     {
         Console.WriteLine("Deliver to existing addresses or new address??");
         string del = Console.ReadLine();
         if (del == "New Address")
         {
             address.AddAddressDAL();
         }
         else
         {
             List <Address> AvailableAddresses = address.GetAddressByRetailerId(addressId);
         }
     }
 }