Is anyone able to provide a brief explanation of the the workflow in the GiftRegistry.aspx.cs file. More specifically, I am trying to understand the purpose of the following condition statements:
Code:
if (GiftRegistryGUID.Length == 0)
I can't understand when the GiftRegistryGUID would ever have a length of 0. I have check our customer database and every record has a GiftRegistryGUID.
Code:
if (!ThisCustomer.HasCustomerRecord)
According to the code under this condition the "Your Gift Registry is Empty" would be displayed. So I dont understand how HasCustomerRecord determines if the Gift Registry is empty.