public MembersController(
     IMembersRepository repository,
     ICityRepository repositoryCity)
 {
     _repository     = repository;
     _repositoryCity = repositoryCity;
 }
 public TeamsController(
     ITeamRepository teamRepository,
     IMembersRepository membersRepository)
 {
     this.teamRepository    = teamRepository;
     this.membersRepository = membersRepository;
 }
 public AssignmentsService(IAssignmentsRepository assignmentsRepository, IMembersRepository membersRepository, ISubmissionsRepository submissionsRepository, IMembersService membersService)
 {
     _assignmentsRepository = assignmentsRepository;
     _membersRepository     = membersRepository;
     _submissionsRepository = submissionsRepository;
     _membersService        = membersService;
 }
Exemple #4
0
 public MemberController(
     ILogger <MemberController> logger,
     IMembersRepository membersRepository)
 {
     _logger           = logger;
     _memberRepository = membersRepository;
 }
     public ReservationsHubController(IRoomStatusTypeRepository RoomStatusTypeRepository, 
         IRoomAllocationsRepository  RoomAllocationRepository ,
         IMembersRepository  MemberRepository,
         IGuestsRepository  GuestRepository,
         IClubsRepository  ClubRepository ,
         IRoomRatesRepository RoomRateRepository ,
         IFacilitiesRepository FacilityRepository,
          IRateTypeRepository  RateTypeRepository ,
         IDocument_TypeRepository  Document_TypeRepository,
          IGuest_DocumentsRepository Guest_DocumentsRepository,
          IPaymentByRepository     PaymentByRepository ,
         IBilling_RulesRepository Billing_RulesRepository
         )
     { _RoomStatusTypeRepository = RoomStatusTypeRepository;
       _RoomAllocationRepository=RoomAllocationRepository;
       _MemberRepository = MemberRepository;
       _GuestRepository =  GuestRepository;
       _ClubRepository = ClubRepository;
       _RoomRateRepository = RoomRateRepository;
       _FacilityRepository = FacilityRepository;
       _RateTypeRepository = RateTypeRepository;
       _Document_TypeRepository = Document_TypeRepository;
       _Guest_DocumentsRepository = Guest_DocumentsRepository;
       _PaymentByRepository = PaymentByRepository;
       _Billing_RulesRepository = Billing_RulesRepository;
 }
Exemple #6
0
 public ShowController()
 {
     _tvdb         = new TVDB("86F59A0BFBA75DB4");
     membersDb     = new MembersRepository();
     showInfoDb    = new ShowInfoRepository();
     episodeInfoDb = new EpisodeInfoRepository();
 }
 public RoomReservation_WaitingListController(IRoomReservation_WaitingListsRepository RoomReservation_WaitingListRepository, IRoomTypesRepository RoomTypeRepository, IWaitingListStatusRepository WaitingListStatusRepository, IMembersRepository MemberRepository)
 {
     _RoomReservation_WaitingListRepository = RoomReservation_WaitingListRepository;
     _RoomTypeRepository = RoomTypeRepository;
     _WaitingListStatusRepository = WaitingListStatusRepository;
     _MemberRepository = MemberRepository;
 
 }
 public CartProdsService(IProductsRepository productRepo, ICartRepository cartRepo, IMembersRepository memberRepo, ICartProdRepository cartProdRepo, IMapper mapper)
 {
     _productRepo  = productRepo;
     _cartRepo     = cartRepo;
     _memberRepo   = memberRepo;
     _cartProdRepo = cartProdRepo;
     _mapper       = mapper;
 }
 public MembersController(
     ITeamRepository teamRepository,
     IMembersRepository membersRepository,
     ILocationClient locationClient)
 {
     this.teamRepository    = teamRepository;
     this.membersRepository = membersRepository;
     this.locationClient    = locationClient;
 }
Exemple #10
0
 public MembersService(
     IMembersRepository membersRepository,
     IInvitationsRepository invitationsRepository,
     IFileService fileService)
 {
     _membersRepository     = membersRepository;
     _invitationsRepository = invitationsRepository;
     _fileService           = fileService;
 }
Exemple #11
0
 public TimerViewModel(IStatisticsService statisticsService, IMembersRepository membersRepository, IDialogService dialogService, IAppSettings appSettings)
 {
     _statisticsService = statisticsService;
     _membersRepository = membersRepository;
     _dialogService     = dialogService;
     _appSettings       = appSettings;
     InitializeLessons();
     SelectedLesson = Lessons[0];
 }
 public TimerViewModel(IStatisticsService statisticsService, IMembersRepository membersRepository, IDialogService dialogService, IAppSettings appSettings)
 {
     _statisticsService = statisticsService;
     _membersRepository = membersRepository;
     _dialogService = dialogService;
     _appSettings = appSettings;
     InitializeLessons();
     SelectedLesson = Lessons[0];
 }
Exemple #13
0
 public OrderDetailService(IOrderDetailsRepository orderDetailsRepo, IOrdersRepository orderRepo, IMembersRepository memberRepo, IOrderService orderService, ICartProdsService cartProdsSer, IProductsService prodSer)
 {
     _orderDetailsRepo = orderDetailsRepo;
     _orderRepo        = orderRepo;
     _memberRepo       = memberRepo;
     _orderSer         = orderService;
     _cartProdSer      = cartProdsSer;
     _prodSer          = prodSer;
 }
Exemple #14
0
 public MembersService(
     IMembersRepository repo,
     IRandomUserApiClient apiClient,
     IMapper mapper)
 {
     _repo      = repo;
     _apiClient = apiClient;
     _mapper    = mapper;
 }
 public DataServiceController(IPurchasesRepository purRep, IMembershipsRepository mRep, IMembersRepository memRep, IMerchantsRepository merRep, IInvestmentUnitsRepository invuRep, IYesrRepository ysrRep)
 {
     _purchasesRepository = purRep;
     _membershipsRepository = mRep;
     _membersRepository = memRep;
     _merchantsRepository = merRep;
     _investmentUnitsRepository = invuRep;
     _yesrRepository = ysrRep;
 }
Exemple #16
0
 public HomeController(IMembersRepository membersRepository,
                       IBooksRepository booksRepository,
                       IHostingEnvironment hostingEnvironment,
                       IHoldRepository holdRepository)
 {
     _membersRepository  = membersRepository;
     _booksRepository    = booksRepository;
     _hostingEnvironment = hostingEnvironment;
     _holdRepository     = holdRepository;
 }
Exemple #17
0
 public ClubsService(
     IClubsRepository clubsRepository,
     IInvitationsRepository invitationsRepository,
     IMembersRepository membersRepository,
     IFileService fileService)
 {
     _clubsRepository       = clubsRepository;
     _invitationsRepository = invitationsRepository;
     _membersRepository     = membersRepository;
     _fileService           = fileService;
 }
          public RoomReservationsController(IRoomReservationsRepository RoomReservationRepository, IClubsRepository ClubRepository,IReservation_SourcesRepository  Reservation_SourceRepository, ICountryRepository  CountryRepository,
          ITitlesRepository  TitleRepository,
          ILanguageRepository  LanguageRepository,
          IRoomAllocationsRepository  RoomAllocationRepository,
          IRoomTypesRepository  RoomTypeRepository,
          IFacilitiesRepository  FacilityRepository  ,
          IRoomReservation_FacilitiesRepository RoomReservation_FacilitiesRepository,
          IReservationStatusTypeRepository ReservationStatusTypeRepository,
          IReason_TypesRepository Reason_TypeRepository,
          IPaymentByRepository    PaymentByRepository,
          IPaymentModeRepository   PaymentModeRepository,
          IBillTimeRepository      BillTimeRepository,
          ICurrencyRepository  CurrencyRepository,
          IMembersRepository  MemberRepository,
          IGuestsRepository GuestRepository,
              IRoomReservation_RoomDetailsRepository  RoomReservation_RoomDetailsRepository,
              IRoomReservation_PaymentsRepository RoomReservation_PaymentRepository,
              IRoomReservation_StatusRepository  RoomReservation_StatusRepository,
              IRoomStatus_DetailsRepository  RoomStatus_DetailRepository,
              IWingsRepository WingRepository,
              IDocument_TypeRepository Document_TypeRepository,
              IGuest_DocumentsRepository Guest_DocumentsRepository,
              IReason_TypesRepository Reason_TypesRepository
              )
        {
            _RoomReservationRepository = RoomReservationRepository;
            _Reservation_SourceRepository = Reservation_SourceRepository;
            _ClubRepository = ClubRepository;
            _CountryRepository =  CountryRepository;
            _TitleRepository = TitleRepository;
            _LanguageRepository =LanguageRepository;
            _RoomAllocationRepository = RoomAllocationRepository;
            _RoomTypeRepository = RoomTypeRepository;
            _FacilityRepository = FacilityRepository;
            _RoomReservation_FacilitiesRepository = RoomReservation_FacilitiesRepository;
            _ReservationStatusTypeRepository = ReservationStatusTypeRepository;
            _Reason_TypeRepository = Reason_TypeRepository;
            _PaymentByRepository = PaymentByRepository;
            _PaymentModeRepository = PaymentModeRepository;
            _BillTimeRepository = BillTimeRepository;
            _CurrencyRepository =  CurrencyRepository;
            _MemberRepository = MemberRepository;
            _GuestRepository = GuestRepository;
            _RoomReservation_RoomDetailsRepository = RoomReservation_RoomDetailsRepository;
            _RoomReservation_PaymentRepository = RoomReservation_PaymentRepository;
            _RoomReservation_StatusRepository =RoomReservation_StatusRepository;
            _RoomStatus_DetailRepository = RoomStatus_DetailRepository;
            _WingRepository = WingRepository;

            _Document_TypeRepository = Document_TypeRepository;
            _Guest_DocumentsRepository = Guest_DocumentsRepository;
            _Reason_TypesRepository =  Reason_TypesRepository;

        }
Exemple #19
0
        public void MemberSearchTestsInitialize()
        {
            Resolve <IDbConnectionFactory>().DeleteAllTestData();

            var connectionFactory = Resolve <IDataContextFactory>();
            var locationQuery     = Resolve <ILocationQuery>();
            var industriesQuery   = Resolve <IIndustriesQuery>();

            _repository            = new MembersRepository(connectionFactory, new MemberSearchCriteriaPersister(locationQuery, industriesQuery));
            _memberSearchesCommand = new MemberSearchesCommand(_repository);
            _memberSearchesQuery   = new MemberSearchesQuery(_repository);
        }
Exemple #20
0
 public WebHookController(IMembersRepository members)
 {
     _members = members;
     //_app = app;
 }
 public MemberSearchesCommand(IMembersRepository repository)
 {
     _repository = repository;
 }
Exemple #22
0
 public MemberAffiliationsQuery(IMembersRepository repository)
 {
     _repository = repository;
 }
        public void PrepareRepositories(bool initialize = false)
        {
            // Kick the model creation process if not already created (hence force is false). In other words, do
            // not wait on any database activities. Without this, nothing happens unless some context activities take
            // place.
            _context = new YContext();
            if (initialize)
            {
                // Kick the model creation process if not already created (hence force is false). In other words, do
                // not wait on any database activities. Without this, nothing happens unless some context activities take
                // place.
                _context.Database.Initialize(force: false);
            }

            _timeZonesRepository = new TimeZonesRepository(_context);
            _channelsRepository = new ChannelsRepository(_context);
            _contactsRepository = new ContactsRepository(_context);
            _regionsRepository = new RegionsRepository(_context);
            _countriesRepository = new CountriesRepository(_context);
            _currenciesRepository = new CurrenciesRepository(_context);
            _languagesRepository = new LanguagesRepository(_context);
            _merchantsRepository = new MerchantsRepository(_context);
            _memberTypesRepository = new MemberTypesRepository(_context);
            _investmentSchemesRepository = new InvestmentSchemesRepository(_context);
            _invoicesRepository = new InvoicesRepository(_context);
            _periodsRepository = new PeriodsRepository(_context);
            _sponsorsRepository = new SponsorsRepository(_context, _invoicesRepository);
            _payoutEventsRepository = new PayoutEventsRepository(_context);
            _investmentUnitsRepository = new InvestmentUnitsRepository(_context, _sponsorsRepository, _invoicesRepository, _payoutEventsRepository);
            _instancesRepository = new InstancesRepository(_context, _sponsorsRepository, _countriesRepository, _regionsRepository, _investmentSchemesRepository, _currenciesRepository);
            _membersRepository = new MembersRepository(_context, _channelsRepository, _contactsRepository, _languagesRepository, _currenciesRepository, _timeZonesRepository, _memberTypesRepository, _merchantsRepository, _sponsorsRepository, _countriesRepository);
            _enrollmentsRepository = new EnrollmentsRepository(_context, _periodsRepository);
            _purchasesRepository = new PurchasesRepository(_context, _periodsRepository, _invoicesRepository);
            _cashBackBonusesRepository = new CashBackBonusesRepository(_context);
            _adminFeesRepository = new AdminFeesRepository(_context);
            _accumulationReservesRepository = new AccumulationReservesRepository(_context, _investmentUnitsRepository);
            _referralBonusesRepository = new ReferralBonusesRepository(_context);
            _membershipsRepository = new MembershipsRepository(_context, _membersRepository, _enrollmentsRepository, _purchasesRepository, _cashBackBonusesRepository, _adminFeesRepository, _accumulationReservesRepository, _referralBonusesRepository, _instancesRepository, _merchantsRepository, _investmentUnitsRepository, _periodsRepository, _currenciesRepository);
            _yesrRepository = new YesrRepository(_context);
        }
Exemple #24
0
 public MembersService(IMembersRepository membersRepository)
 {
     _membersRepo = membersRepository;
 }
Exemple #25
0
 public MembersSerivce(IMembersRepository membersRepository)
 {
     _membersRep = membersRepository;
 }
 public NameSelection(IMembersRepository membersRepository)
 {
     _membersrepository = membersRepository;
 }
Exemple #27
0
 public UsersController(IMembersRepository repo, IMapper mapper)
 {
     _mapper = mapper;
     _repo   = repo;
 }
Exemple #28
0
 public AdminController(IMembersRepository membersRepository)
 {
     this.membersRepository = membersRepository;
 }
Exemple #29
0
 public MembersStore(IMembersRepository membersRepository)
 {
     _membersRepository = membersRepository;
 }
 public AdminController(IMembersRepository repositoryParam)
 {
     membersRepository = repositoryParam;
 }
 public MembersController(IMembersRepository membersRepository)
 {
     _membersRepository = membersRepository;
 }
Exemple #32
0
 /// <summary>
 /// Constructor
 /// </summary>
 public PostsController(IPostsRepository postsRepository, IMembersRepository membersRepository, ITagsRepository tagsRepository)
 {
     _postsRepository = postsRepository;
     _membersRepository = membersRepository;
     _tagsRepository = tagsRepository;
 }
Exemple #33
0
 /// <summary>
 /// Constructor
 /// </summary>
 public EventsController(IEventsRepository eventsRepository, IVenuesRepository venuesRepository, IMembersRepository membersRepository)
 {
     _eventsRepository = eventsRepository;
     _venuesRepository = venuesRepository;
     _membersRepository = membersRepository;
 }
 public AccountController(IMembersRepository membersRepository)
 {
     _membersRepository = membersRepository;
 }
 public MembersSerivce(IMembersRepository memberRepo)
 {
     _membersRepo = memberRepo;
 }
 public AuthenticationService(IMembersRepository membersRepository)
 {
     _membersRepository = membersRepository;
 }
Exemple #37
0
 public MembersRepositoryTests()
 {
     _memberRepository = new MembersRepository(ApplicationDbContextFactory.Create());
 }
 public MembersController(IMembersRepository repo)
 {
     _repo = repo;
 }
Exemple #39
0
 public MembersService(IMapper mapper, IMembersRepository membersRepository, IGitHubApiClient gitHubApiClient)
 {
     _mapper            = mapper;
     _membersRepository = membersRepository;
     _gitHubApiClient   = gitHubApiClient;
 }
Exemple #40
0
 public MemberService(IMembersRepository repo, IMapper autoMapper)
 {
     _membersRepo = repo;
     _autoMapper  = autoMapper;
 }
Exemple #41
0
 public MembersServices(IMembersRepository dal)
 {
     _membersRepository = dal;
     base.baseDal       = dal;
 }
 public MembersService(IMembersRepository membersRepository, IMapper mapper) : base(membersRepository, mapper)
 {
     _membersRepository = membersRepository;
     _mapper            = mapper;
 }
 public AdminController(IMembersRepository repositoryParam)
 {
     membersRepository = repositoryParam;
 }