Ejemplo n.º 1
0
 internal void Map(GuestResponseInfo responseInfo)
 {
     Attending           = responseInfo.Attending;
     OakmontBBQSelection = responseInfo.OakmontBBQSelection;
     ChopShopSelection   = responseInfo.ChopShopSelection;
     DietaryRestrictions = responseInfo.DietaryRestrictions;
     SongRequest         = responseInfo.SongRequest;
 }
Ejemplo n.º 2
0
        internal void Map(Guest guest)
        {
            LastName  = guest.LastName;
            FirstName = guest.FirstName;
            Email     = guest.Email;

            if (guest.ResponseInfo == null)
            {
                return;
            }
            if (ResponseInfo == null)
            {
                ResponseInfo = new GuestResponseInfo();
            }
            ResponseInfo.Map(guest.ResponseInfo);
        }