示例#1
0
 public Task Handle(GameweekCurrentlyOnGoing notification, CancellationToken cancellationToken)
 {
     using var scope = _logger.AddContext(Tuple.Create(nameof(GameweekCurrentlyOnGoing), notification.Gameweek.Id.ToString()));
     _logger.LogInformation("Refreshing state for ongoing gw");
     return(_state.Refresh(notification.Gameweek.Id));
 }
示例#2
0
 public Task Handle(GameweekCurrentlyOnGoing notification, CancellationToken cancellationToken)
 {
     _logger.LogInformation("Refreshing state for ongoing gw");
     return(_state.Refresh(notification.Gameweek.Id));
 }