public Task Handle(GameweekJustBegan notification, CancellationToken cancellationToken) { using var scope = _logger.AddContext(Tuple.Create(nameof(GameweekJustBegan), notification.Gameweek.Id.ToString())); _logger.LogInformation("Getting ready to rumble"); return(_state.Reset(notification.Gameweek.Id)); }
public Task Handle(GameweekJustBegan notification, CancellationToken cancellationToken) { using var scope = _logger.AddContext(Tuple.Create(nameof(GameweekJustBegan), notification.Gameweek.Id.ToString())); _logger.LogInformation("Resetting state. Gameweek {Gameweek} just began.", notification.Gameweek.Id); return(_matchState.Reset(notification.Gameweek.Id)); }
public Task Handle(GameweekJustBegan notification, CancellationToken cancellationToken) { _logger.LogInformation("Getting ready to rumble"); return(_state.Reset(notification.Gameweek.Id)); }
public Task Handle(GameweekJustBegan notification, CancellationToken cancellationToken) { _logger.LogInformation("Resetting state"); return(_matchState.Reset(notification.Gameweek.Id)); }