public CompetitionService(IUnitOfWork unitOfWork) { this.unitOfWork = unitOfWork; this.repository = unitOfWork.GetRepository<Competition>(); this.operationChecker = new OperationChecker(this.repository); }
internal Session(IOperationChecker operationChecker) { this.operationChecker = operationChecker; }
public DecisionGateway(IRepository<Competition> repository, IOperationChecker stateService) { this.repository = repository; this.stateService = stateService; }