Пример #1
0
 public SubmitRaceResultModel(IRaceRepository raceRepository, IRaceResultRepository raceResultRepository)
 {
     _raceRepository       = raceRepository ?? throw new ArgumentNullException(nameof(raceRepository));
     _raceResultRepository = raceResultRepository ?? throw new ArgumentNullException(nameof(raceResultRepository));
 }
Пример #2
0
 public RaceResultController(IRaceResultRepository raceResultRepository)
 {
     repository = raceResultRepository;
 }