public ClockService( IRaceDataLogic raceDataLogic, INotificationService notificationService) { this.raceDataLogic = raceDataLogic ?? throw new ArgumentNullException(nameof(raceDataLogic)); this.notificationService = notificationService ?? throw new ArgumentNullException(nameof(notificationService)); }
public RaceDataController( IMapper mapper, IRaceDataLogic raceDataLogic) { this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); this.raceDataLogic = raceDataLogic ?? throw new ArgumentNullException(nameof(raceDataLogic)); }