public ActionResult _CreateRecord(long giftId)
        {
            //获取默认邮寄地址
            MailAddress mailAddress         = null;
            IEnumerable <MailAddress> mails = new MailAddressService().GetsOfUser(UserContext.CurrentUser.UserId);

            //从数据库中取实体,取不到则创建
            mailAddress = mails.Count() > 0 ? mails.First() : MailAddress.New();
            var mailAddressEditModel = mailAddress.AsEditModel();

            //创建兑换记录的EditModel
            IUser     currentUser     = UserContext.CurrentUser;
            PointGift gift            = pointMallService.GetGift(giftId);
            var       recordEditModel = new RecordEditModel();

            recordEditModel.Address     = mailAddressEditModel.Address ?? string.Empty;
            recordEditModel.Addressee   = mailAddressEditModel.Addressee ?? string.Empty;
            recordEditModel.PostCode    = mailAddressEditModel.PostCode ?? string.Empty;
            recordEditModel.Tel         = mailAddressEditModel.Tel ?? string.Empty;
            recordEditModel.GiftId      = giftId;
            recordEditModel.Payer       = currentUser.DisplayName;
            recordEditModel.PayerUserId = currentUser.UserId;
            recordEditModel.GiftName    = gift.Name;
            ViewData["recordEditModel"] = recordEditModel;

            return(View(mailAddressEditModel));
        }