示例#1
0
 public ParticipationRequestService(IParticipationRequestRepo participationRequestRepo, IParticipantRepo participantRepo, ICompetitionRepo competitionRepo, IUserRepo userRepo)
 {
     _participationRequestRepo = participationRequestRepo;
     _participantRepo          = participantRepo;
     _competitionRepo          = competitionRepo;
     _userRepo = userRepo;
 }
示例#2
0
 public ParticipantService(IParticipantRepo participantRepo, IInvitationRepo invitationRepo, IParticipationRequestRepo participationRequestRepo, IAdminRepo adminRepo)
 {
     _participantRepo          = participantRepo;
     _invitationRepo           = invitationRepo;
     _participationRequestRepo = participationRequestRepo;
     _adminRepo = adminRepo;
 }
 public CompetitionService(ICompetitionRepo competitionRepo, IChallengeRepo challengeRepo, IMappingService mappingService, IAdminRepo adminRepo, IParticipantRepo participantRepo)
 {
     _competitionRepo = competitionRepo;
     _challengeRepo   = challengeRepo;
     _mappingService  = mappingService;
     _adminRepo       = adminRepo;
     _participantRepo = participantRepo;
 }
示例#4
0
 public ServerImpl(ICursaRepo cursaRepository, IEchipaRepo echipaRepository, IParticipantRepo participantRepository, IUserRepo userRepository)
 {
     this.cursaRepository       = cursaRepository;
     this.echipaRepository      = echipaRepository;
     this.participantRepository = participantRepository;
     this.userRepository        = userRepository;
     this.validator             = new Validator();
     loggedClients = new Dictionary <String, IAppObserver>();
 }
 public InvitationService(IInvitationRepo invitationRepo, IParticipantRepo participantRepo, IUserRepo userRepo)
 {
     _invitationRepo  = invitationRepo;
     _participantRepo = participantRepo;
     _userRepo        = userRepo;
 }
示例#6
0
 public ParticipantsController(IParticipantRepo _participants, IDiverRepo _divers, IEventsRepo _evt)
 {
     this.participants = _participants;
     this.divers       = _divers;
     this.events       = _evt;
 }