public Task SetSecurityStampAsync(MyUser user, string stamp) { if (!string.IsNullOrWhiteSpace(user.Id)) { var id = int.Parse(user.Id); _userService.SetUserSecurityStamp(id, stamp); } user.SecurityStamp = stamp; return(Task.FromResult(0)); }
public Task SetSecurityStampAsync(MyUser user, string stamp) { if (!string.IsNullOrWhiteSpace(user.Id)) { var id = int.Parse(user.Id); _userService.SetUserSecurityStamp(id, stamp); } user.SecurityStamp = stamp; return(Task.FromResult(0)); }