예제 #1
0
 public RaceController(
     IMapper mapper,
     IRaceLogic raceLogic)
 {
     this.mapper    = mapper ?? throw new ArgumentNullException(nameof(mapper));
     this.raceLogic = raceLogic ?? throw new ArgumentNullException(nameof(raceLogic));
 }
예제 #2
0
 public StatisticController(
     IMapper mapper,
     IRaceLogic raceLogic,
     IStatisticLogic statisticLogic)
 {
     this.mapper         = mapper ?? throw new ArgumentNullException(nameof(mapper));
     this.raceLogic      = raceLogic ?? throw new ArgumentNullException(nameof(raceLogic));
     this.statisticLogic = statisticLogic ?? throw new ArgumentNullException(nameof(statisticLogic));
 }
예제 #3
0
 public ResultHub(IRaceLogic raceService)
 {
     this.raceService = raceService;
 }
예제 #4
0
 public MainService(IRaceLogic raceLogic, RacesDbContext dbContext)
 {
     this.raceLogic = raceLogic;
     dataContext    = dbContext;
 }