예제 #1
0
 public SportsbookExcelService(IBetDetailRepository repository = null)
 {
     this.repository = repository ?? new BetDetailRepository();
 }
예제 #2
0
 public SportsbookService(ISportsbookApi sportsbookApi = null, IBetDetailRepository repository = null)
 {
     this.sportsbookApi = sportsbookApi ?? RestService.For <ISportsbookApi>(AppSettings.Settings.APIURL);
     this.repository    = repository ?? new BetDetailRepository();
 }