コード例 #1
0
 public UnitOfWorkComponent(IUnitOfWorkRepository unitOfWork)
 {
     _unitOfWorkRepository = unitOfWork;
     Players      = new PlayerComponent(unitOfWork);
     Articles     = new ArticleComponent(unitOfWork);
     Teams        = new TeamComponent(unitOfWork);
     Competitions = new CompetitionTypeComponent(unitOfWork);
     Contacts     = new ContactComponent(unitOfWork);
 }
コード例 #2
0
ファイル: SmsComponent.cs プロジェクト: rflores1515/nbaAlerts
 public SmsComponent(ISportsService sportsService, ITeamComponent teamComponent)
 {
     _teamComponent = teamComponent;
     _sportsService = sportsService;
 }