Beispiel #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);
 }
Beispiel #2
0
 public SmsComponent(ISportsService sportsService, ITeamComponent teamComponent)
 {
     _teamComponent = teamComponent;
     _sportsService = sportsService;
 }