Ejemplo n.º 1
0
 public FeedbackApiController(Club club, IFeedbackQuery feedbackQuery, IFeedbackRepository feedbackRepository, IMemberQuery memberQuery)
 {
     this.club               = club;
     this.feedbackQuery      = feedbackQuery;
     this.feedbackRepository = feedbackRepository;
     this.memberQuery        = memberQuery;
 }
Ejemplo n.º 2
0
 public EventService(IEventRepository eventRepository, IEventQuery eventQuery, IValidator <EventSetupRequest> setUpRequestValidator,
                     IValidator <EventDeleteRequest> deleteRequestValidator, IClubQuery clubQuery, ISquadQuery squadQuery, ILibraryQuery libraryQuery, IMemberQuery memberQuery,
                     IValidator <EventAttendanceRequest> eventAttendanceRequestValidator,
                     IValidator <NewEventReviewRequest> newEventReviewValidator,
                     IEmailSender emailSender,
                     IValidator <EmailReportRequest> emailReportRequestValidator,
                     IValidator <EventTimeLogRequest> eventTimeLogRequestValidator,
                     IValidator <EventFeedbackRequest> eventFeedbackRequestValidator
                     )
 {
     this.eventRepository        = eventRepository;
     this.eventQuery             = eventQuery;
     this.setUpRequestValidator  = setUpRequestValidator;
     this.deleteRequestValidator = deleteRequestValidator;
     this.clubQuery    = clubQuery;
     this.squadQuery   = squadQuery;
     this.libraryQuery = libraryQuery;
     this.memberQuery  = memberQuery;
     this.eventAttendanceRequestValidator = eventAttendanceRequestValidator;
     this.newEventReviewValidator         = newEventReviewValidator;
     this.emailSender = emailSender;
     this.emailReportRequestValidator   = emailReportRequestValidator;
     this.eventTimeLogRequestValidator  = eventTimeLogRequestValidator;
     this.eventFeedbackRequestValidator = eventFeedbackRequestValidator;
 }
Ejemplo n.º 3
0
 public SquadService(ISquadRepository squadRepository, ISquadQuery squadQuery, IClubQuery clubQuery, IMemberQuery memberQuery)
 {
     this.squadRepository = squadRepository;
     this.squadQuery      = squadQuery;
     this.clubQuery       = clubQuery;
     this.memberQuery     = memberQuery;
 }
Ejemplo n.º 4
0
 public EventQuery(IDbConnectionFactory factory, ISquadQuery squadQuery, IMemberQuery memberQuery)
 {
     ThrowIf.ArgumentIsNull(factory);
     this.connectionFactory = factory;
     this.squadQuery        = squadQuery;
     this.memberQuery       = memberQuery;
 }
Ejemplo n.º 5
0
 public AreaSelectionController(Club club, UserManager <ApplicationUser> userManager, IMemberQuery memberQuery, SignInManager <ApplicationUser> signInManager)
 {
     this.club          = club;
     this.userManager   = userManager;
     this.memberQuery   = memberQuery;
     this.signInManager = signInManager;
 }
Ejemplo n.º 6
0
 public AssignmentsApiController(Club club, IAssignmentQuery assignmentQuery, IAssignmentService assignmentService, IMemberQuery memberQuery)
 {
     this.club              = club;
     this.assignmentQuery   = assignmentQuery;
     this.assignmentService = assignmentService;
     this.memberQuery       = memberQuery;
 }
Ejemplo n.º 7
0
 public EventsApiController(Club club, IEventQuery eventsQuery, IEventService eventService, UserManager <ApplicationUser> userManager, IMemberQuery memberQuery)
 {
     this.club         = club;
     this.eventsQuery  = eventsQuery;
     this.eventService = eventService;
     this.userManager  = userManager;
     this.memberQuery  = memberQuery;
 }
Ejemplo n.º 8
0
 public TrackingController(Club club, ITracker tracker, IMemberQuery memberQuery, IEventQuery eventQuery, ILibraryQuery libraryQuery)
 {
     this.club         = club;
     this.tracker      = tracker;
     this.memberQuery  = memberQuery;
     this.eventQuery   = eventQuery;
     this.libraryQuery = libraryQuery;
 }
Ejemplo n.º 9
0
 public EventsController(Club club, IEventService eventService, IEventQuery eventsQuery, ISquadQuery squadQuery, IMemberQuery memberQuery)
 {
     this.club         = club;
     this.eventService = eventService;
     this.eventsQuery  = eventsQuery;
     this.squadQuery   = squadQuery;
     this.memberQuery  = memberQuery;
 }
Ejemplo n.º 10
0
 public CoachesController(Club club,
                          ICoachService coachService,
                          IMemberQuery memberQuery
                          )
 {
     this.club         = club;
     this.coachService = coachService;
     this.memberQuery  = memberQuery;
 }
Ejemplo n.º 11
0
 public AvailabilityService(IValidator <NewAvailabilityRequest> newAvailabilityValidator, IAvailabilityRepository repository,
                            IClubQuery clubQuery, ISquadQuery squadQuery, IMemberQuery memberQuery, IAvailabilityQuery availabilityQuery
                            )
 {
     this.newAvailabilityValidator = newAvailabilityValidator;
     this.repository        = repository;
     this.clubQuery         = clubQuery;
     this.squadQuery        = squadQuery;
     this.memberQuery       = memberQuery;
     this.availabilityQuery = availabilityQuery;
 }
Ejemplo n.º 12
0
 public PlayerService(IPlayerRepository playerRepository,
                      IMemberQuery playerQuery, ISquadQuery squadQuery, IValidator <PlayerRequest> validator,
                      IIdentityManager identityManager
                      )
 {
     this.playerRepository = playerRepository;
     this.memberQuery      = playerQuery;
     this.squadQuery       = squadQuery;
     this.validator        = validator;
     this.identityManager  = identityManager;
 }
Ejemplo n.º 13
0
 public SquadsController(
     Club club,
     ISquadService squadService,
     ISquadQuery squadQuery,
     IMemberQuery memberQuery
     )
 {
     this.club         = club;
     this.squadService = squadService;
     this.squadQuery   = squadQuery;
     this.memberQuery  = memberQuery;
 }
Ejemplo n.º 14
0
 public PlayersController(
     Club club,
     ISquadQuery squadQuery,
     IPlayerService playerService,
     IMemberQuery playerQuery
     )
 {
     this.club          = club;
     this.squadQuery    = squadQuery;
     this.playerService = playerService;
     this.playerQuery   = playerQuery;
 }
Ejemplo n.º 15
0
        public CoachService(IClubQuery clubQuery, IMemberQuery memberQuery, ICoachRepository coachRepository, IValidator <CoachRequest> validator, IIdentityManager identityManager)
        {
            ThrowIf.ArgumentIsNull(clubQuery);
            ThrowIf.ArgumentIsNull(coachRepository);
            ThrowIf.ArgumentIsNull(validator);

            this.clubQuery       = clubQuery;
            this.memberQuery     = memberQuery;
            this.coachRepository = coachRepository;
            this.validator       = validator;
            this.identityManager = identityManager;
        }
Ejemplo n.º 16
0
 public Tracker(IValidator <EventTrainingMaterialViewRequest> eventTrainingMaterialViewValidator, IClubQuery clubQuery, IEventQuery eventQuery,
                ILibraryQuery libraryQuery, IMemberQuery memberQuery, ISquadQuery squadQuery, IAssignmentQuery assignmentQuery, ITrackerRepository trackerRepository)
 {
     this.eventTrainingMaterialViewValidator = eventTrainingMaterialViewValidator;
     this.clubQuery         = clubQuery;
     this.eventQuery        = eventQuery;
     this.libraryQuery      = libraryQuery;
     this.memberQuery       = memberQuery;
     this.squadQuery        = squadQuery;
     this.assignmentQuery   = assignmentQuery;
     this.trackerRepository = trackerRepository;
 }
Ejemplo n.º 17
0
 public AssignmentsController(Club club, ISquadQuery squadQuery, IMemberQuery memberQuery,
                              ILibraryQuery libraryQuery, IAssignmentService assignmentService,
                              IAssignmentQuery assignmentQuery
                              )
 {
     this.club              = club;
     this.squadQuery        = squadQuery;
     this.memberQuery       = memberQuery;
     this.libraryQuery      = libraryQuery;
     this.assignmentService = assignmentService;
     this.assignmentQuery   = assignmentQuery;
 }
Ejemplo n.º 18
0
            private bool IsMemberQueryRestricted(ClaimsPrincipal user, IMemberQuery query)
            {
                var isMemberQueryRestricted = false;

                foreach (var role in restrictedRoles)
                {
                    if (user.IsInRole(role.ToString()) && string.IsNullOrWhiteSpace(query.MemberName))
                    {
                        isMemberQueryRestricted = true;
                        break;
                    }
                }

                return(isMemberQueryRestricted);
            }
Ejemplo n.º 19
0
 public AssignmentService(IValidator <AssignmentRequest> assignementRequestValidator,
                          IClubQuery clubQuery,
                          ISquadQuery squadQuery,
                          IMemberQuery memberQuery,
                          ILibraryQuery libraryQuery,
                          IAssignmentRepository assignmentRepository,
                          IAssignmentQuery assignmentQuery
                          )
 {
     this.assignementRequestValidator = assignementRequestValidator;
     this.clubQuery            = clubQuery;
     this.squadQuery           = squadQuery;
     this.memberQuery          = memberQuery;
     this.libraryQuery         = libraryQuery;
     this.assignmentRepository = assignmentRepository;
     this.assignmentQuery      = assignmentQuery;
 }
Ejemplo n.º 20
0
 public AccountsService(IDataProtectionProvider dataProtectionProvider,
                        IOptions <CryptographicConfiguration> cryptographicConfiguration,
                        IEmailSender emailSender,
                        IValidator <AccountRequest> accountRequestValidator,
                        //IClubQuery clubQuery,
                        IMemberQuery memberQuery,
                        IIdentityManager identityManager,
                        Club club)
 {
     this.dataProtectionProvider  = dataProtectionProvider;
     this.cryptographicSettings   = cryptographicConfiguration.Value.CryptographicSettings;
     this.emailSender             = emailSender;
     this.accountRequestValidator = accountRequestValidator;
     //this.clubQuery = clubQuery;
     this.memberQuery     = memberQuery;
     this.identityManager = identityManager;
     this.club            = club;
 }
Ejemplo n.º 21
0
 public EvaluationService(IValidator <TermSetupRequest> setupRequestValidator, IEvaluationQuery evaluationQuery,
                          IEvaluationRepository termRepository, ITermSearchEngine termSearchEngine,
                          IValidator <GenerateReportCardRequest> generateRequestValidator, IClubQuery clubQuery,
                          ISquadQuery squadQuery, IMemberQuery memberQuery, IReportDesignerQuery reportDesignerQuery,
                          IValidator <UpdateReportCardRequest> updateReportCardRequestValidator
                          )
 {
     this.setupRequestValidator    = setupRequestValidator;
     this.evaluationQuery          = evaluationQuery;
     this.evaluationRepository     = termRepository;
     this.termSearchEngine         = termSearchEngine;
     this.generateRequestValidator = generateRequestValidator;
     this.clubQuery           = clubQuery;
     this.squadQuery          = squadQuery;
     this.memberQuery         = memberQuery;
     this.reportDesignerQuery = reportDesignerQuery;
     this.updateReportCardRequestValidator = updateReportCardRequestValidator;
 }
Ejemplo n.º 22
0
 public PlayersApiController(Club club, IMemberQuery memberQuery, IFeedbackQuery feedbackQuery)
 {
     this.club          = club;
     this.memberQuery   = memberQuery;
     this.feedbackQuery = feedbackQuery;
 }
Ejemplo n.º 23
0
 public PlatformModule()
 {
     _memberQuery   = this.Resolve <IMemberQuery>();
     _memberService = this.Resolve <IMemberService>();
     _platformQuery = this.Resolve <IPlatformQuery>();
 }
Ejemplo n.º 24
0
 public CoachRepository(IDbConnectionFactory factory, IMemberQuery memberQuery)
 {
     ThrowIf.ArgumentIsNull(factory);
     this.connectionFactory = factory;
     this.memberQuery       = memberQuery;
 }
Ejemplo n.º 25
0
 public HomeController(Club club, UserManager <ApplicationUser> userManager, IMemberQuery memberQuery)
 {
     this.club        = club;
     this.userManager = userManager;
     this.memberQuery = memberQuery;
 }
Ejemplo n.º 26
0
 public PlayerAdditionCommand(PlayerAdditionRequest request, IMemberRepository memberRepository, IMemberQuery memberQuery)
 {
     this.request          = request;
     this.memberRepository = memberRepository;
     this.memberQuery      = memberQuery;
 }
Ejemplo n.º 27
0
 public IdentityManager(Club club, UserManager <ApplicationUser> userManager, IMemberQuery memberQuery)
 {
     this.club        = club;
     this.userManager = userManager;
     this.memberQuery = memberQuery;
 }
Ejemplo n.º 28
0
 public MembershipRequirementHandler(IMemberQuery memberQuery)
 {
     this.memberQuery = memberQuery;
 }