Beispiel #1
0
        public async Task SaveDefaultBeneficiaryAsync(ContactDetailViewModel model)
        {
            if (model.UserID == null)
            {
                model.UserID = _MasterRepo.DataSource.User.UserID;
                var mo = await _DynamixReturnService.AddBeneficiaryAsync(model);

                model.UserID = mo.body.benefactorUserId;
            }
            else
            {
                await _DynamixService.UpdateContactAsync(model);
            }
        }