public Task SetPhoneNumberAsync(MyUser user, string phoneNumber) { if (!string.IsNullOrWhiteSpace(user.Id)) { var id = int.Parse(user.Id); _userService.SetUserPhone(id, phoneNumber); } user.Phone = phoneNumber; return(Task.FromResult(0)); }