예제 #1
0
        public Task SetPhoneNumberConfirmedAsync(MyUser user, bool confirmed)
        {
            if (!string.IsNullOrWhiteSpace(user.Id))
            {
                var id = int.Parse(user.Id);
                _userService.SetUserPhoneVerified(id, confirmed);
            }

            user.PhoneVerified = confirmed;
            return(Task.FromResult(0));
        }