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