예제 #1
0
 public DiseaseController(IDiseasesRepository diseasesRepository, IPersonsRepository personsRepository, ISymptomsRepository symptomsRepository, IDiagnosesRepositories diagnosesRepositories)
 {
     _diseasesRepository    = diseasesRepository;
     _personsRepository     = personsRepository;
     _symptomsRepository    = symptomsRepository;
     _diagnosesRepositories = diagnosesRepositories;
 }
 public RepositoryManager(
     IGroupsRepository groupsRepository,
     IPersonsRepository personsRepository,
     IUsersRepository usersRepository,
     IFilesRepository filesRepository,
     ISiteSettingsRepository siteSettingsRepository,
     IRightsRepository rightsRepository,
     IPostsRepository postsRepository,
     IPostSeoSettingsRepository postSeoSettingsRepository,
     IPostSettingRepository postSettingRepository,
     IPostTypeRepository postTypeRepository,
     IGroupTypeRepository groupTypeRepository
     )
 {
     GroupsRepository          = groupsRepository;
     PersonsRepository         = personsRepository;
     UsersRepository           = usersRepository;
     FilesRepository           = filesRepository;
     SiteSettingsRepository    = siteSettingsRepository;
     RightsRepository          = rightsRepository;
     PostsRepository           = postsRepository;
     PostSeoSettingsRepository = postSeoSettingsRepository;
     PostSettingRepository     = postSettingRepository;
     PostTypeRepository        = postTypeRepository;
     GroupTypeRepository       = groupTypeRepository;
 }
예제 #3
0
 public SavePersonComponent(
     IUnitOfWork unitOfWork,
     IPersonsRepository repository)
     : base(unitOfWork)
 {
     _personRepository = repository;
 }
예제 #4
0
 public EventsController(IMapper mapper, IEventRepository eventRepo, IVenueRepository venueRepo,
                         IPersonsRepository personsRepo) : base(mapper)
 {
     _eventRepo   = eventRepo;
     _venueRepo   = venueRepo;
     _personsRepo = personsRepo;
 }
예제 #5
0
 public PersonsController(ILogger <PersonsController> logger, IPersonsRepository personsRepo, IConfiguration configuration)
 {
     _logger      = logger;
     _personsRepo = personsRepo;
     _profilePicturesFolderPath         = configuration["ProfilePicturesFolderPath"];
     _profilePictureAllowedContentTypes = configuration["ProfilePictureAllowedContentTypes"]
                                          .Split(',', StringSplitOptions.RemoveEmptyEntries).Select(c => c.Trim()).ToArray();
 }
        public DashboardController(IBuildingsRepository buildingsRepository, IPartitionSpacesRepository partitionSpacesRepository,
			IPersonsRepository personsRepository, IMaintenancesRepository maintenancesRepository)
        {
            this.buildingsRepository = buildingsRepository;
            this.partitionSpacesRepository = partitionSpacesRepository;
            this.personsRepository = personsRepository;
            this.maintenancesRepository = maintenancesRepository;
        }
        public OwnerController(IBuildingsRepository buildingsRepository, IPartitionSpacesRepository partitionSpacesRepository,
			IPersonsRepository personsRepository, IAdminJobsVotingsRepository adminJobsVotingsRepository, IBillsRepository billsRepository)
        {
            this.buildingsRepository = buildingsRepository;
            this.partitionSpacesRepository = partitionSpacesRepository;
            this.personsRepository = personsRepository;
            this.adminJobsVotingsRepository = adminJobsVotingsRepository;
            this.billsRepository = billsRepository;
        }
 /// <inheritdoc />
 public SyncTvMazeDbCommandHandler(
     ITvMazeService tvMazeService,
     IShowsRepository showsRepository,
     IPersonsRepository personsRepository)
 {
     _tvMazeService     = tvMazeService ?? throw new ArgumentNullException(nameof(tvMazeService));
     _showsRepository   = showsRepository ?? throw new ArgumentNullException(nameof(showsRepository));
     _personsRepository = personsRepository ?? throw new ArgumentNullException(nameof(personsRepository));
 }
        public FinancesController(IBillsRepository billsRepository, IReservesRepository reservesRepository,
			IPersonsRepository personsRepository, IBuildingsRepository buildingsRepository,
			IEmailNotifier emailNotifier)
        {
            this.billsRepository = billsRepository;
            this.reservesRepository = reservesRepository;
            this.personsRepository = personsRepository;
            this.buildingsRepository = buildingsRepository;
            this.emailNotifier = emailNotifier;
        }
        public MaintenanceController(IMaintenancesRepository maintenancesRepository, IBuildingsRepository buildingsRepository,
			IPersonsRepository personsRepository, IRepairServicesRepository repairServicesRepository,
			IContractorsRepository contractorsRepository, IEmailNotifier emailNotifier)
        {
            this.maintenancesRepository = maintenancesRepository;
            this.buildingsRepository = buildingsRepository;
            this.personsRepository = personsRepository;
            this.repairServicesRepository = repairServicesRepository;
            this.contractorsRepository = contractorsRepository;
            this.emailNotifier = emailNotifier;
        }
        public ContractorController(IContractorsRepository contractorsRepository, IMaintenancesRepository maintenancesRepository,
			IPersonsRepository personsRepository, IBillsRepository billsRepository, IRepairServicesRepository repairServicesRepository,
			IEmailNotifier emailNotifier)
        {
            this.contractorsRepository = contractorsRepository;
            this.maintenancesRepository = maintenancesRepository;
            this.personsRepository = personsRepository;
            this.billsRepository = billsRepository;
            this.repairServicesRepository = repairServicesRepository;
            this.emailNotifier = emailNotifier;
        }
        public BuildingManagerController(IBuildingManagersRepository buildingManagersRepository, IPersonsRepository personsRepository,
			IContractorsRepository contractorsRepository, IBillsRepository billsRepository, IBuildingsRepository buildingsRepository,
			IEmailNotifier emailNotifier)
        {
            this.buildingManagersRepository = buildingManagersRepository;
            this.personsRepository = personsRepository;
            this.contractorsRepository = contractorsRepository;
            this.billsRepository = billsRepository;
            this.buildingsRepository = buildingsRepository;
            this.emailNotifier = emailNotifier;
        }
예제 #13
0
 public OrdersBL(IPersonsRepository personsRepository, IOrdersRepository ordersRepository,
                 IOrderStatusHistoryItemsRepository orderStatusHistoryItemsRepository,
                 IOrderedProductsRepository orderedProductsRepository, IProductsRepository productsRepository,
                 IMailService mailService, IUsersRepository usersRepository)
 {
     _personsRepository = personsRepository;
     _ordersRepository  = ordersRepository;
     _orderStatusHistoryItemsRepository = orderStatusHistoryItemsRepository;
     _orderedProductsRepository         = orderedProductsRepository;
     _productsRepository = productsRepository;
     _mailService        = mailService;
     _usersRepository    = usersRepository;
 }
예제 #14
0
 public PersonsUow(
     ApplicationDbContext context,
     IPersonsRepository persons,
     IPersonRelationsRepository personRelations,
     IPhoneNumbersRepository mobileNumbers,
     ICitiesRepository cities
     ) : base(context)
 {
     Persons         = persons;
     PersonRelations = personRelations;
     PhoneNumbers    = mobileNumbers;
     Cities          = cities;
 }
예제 #15
0
        public UnitOfWork(IAccountTypesRepository accountTypesRepository,
                          IPersonTypesRepository personTypesRepository,
                          IAccountsRepository accountsRepository,
                          IPersonsRepository personsRepository,
                          ControlPanelEntities db)
        {
            AccountTypesRepository = accountTypesRepository;
            PersonTypesRepository  = personTypesRepository;
            AccountsRepository     = accountsRepository;
            PersonsRepository      = personsRepository;

            _db = db;
        }
        public LegislatureController(ICitiesRepository citiesRepository, ICadastresRepository cadastresRepository,
			ILandRegistriesRepository landRegistriesRepository, IPartitionSpacesRepository partitionSpacesRepository,
			IPersonsRepository personsRepository, IBuildingsRepository buildingsRepository,
			IHousingMgmtUsersRepository housingMgmtUsersRepository, IRolesRepository rolesRepository)
        {
            this.citiesRepository = citiesRepository;
            this.cadastresRepository = cadastresRepository;
            this.landRegistriesRepository = landRegistriesRepository;
            this.partitionSpacesRepository = partitionSpacesRepository;
            this.personsRepository = personsRepository;
            this.buildingsRepository = buildingsRepository;
            this.housingMgmtUsersRepository = housingMgmtUsersRepository;
            this.rolesRepository = rolesRepository;
        }
        public AccountController(ICitiesRepository citiesRepository, IRepairServicesRepository repairServicesRepository,
			IContractorsRepository contractorsRepository, IBuildingManagersRepository buildingManagersRepository,
			IPersonsRepository personsRepository, IRolesRepository rolesRepository, IPartitionSpacesRepository partitionSpacesRepository,
			IHousingMgmtUsersRepository housingMgmtUsersRepository, IEmailNotifier emailNotifier)
        {
            this.citiesRepository = citiesRepository;
            this.repairServicesRepository = repairServicesRepository;
            this.contractorsRepository = contractorsRepository;
            this.buildingManagersRepository = buildingManagersRepository;
            this.personsRepository = personsRepository;
            this.rolesRepository = rolesRepository;
            this.partitionSpacesRepository = partitionSpacesRepository;
            this.housingMgmtUsersRepository = housingMgmtUsersRepository;
            this.emailNotifier = emailNotifier;
        }
        public BuildingManagementController(ICitiesRepository citiesRepository, IBuildingsRepository buildingsRepository,
			IBuildingManagersRepository buildingManagersRepository, IPersonsRepository personsRepository,
			IAdminJobsVotingsRepository adminJobsVotingsRepository, IPartitionSpacesRepository partitionSpacesRepository,
			IRolesRepository rolesRepository, IHousingMgmtUsersRepository housingMgmtUsersRepository, 
			IEmailNotifier emailNotifier)
        {
            this.citiesRepository = citiesRepository;
            this.buildingsRepository = buildingsRepository;
            this.buildingManagersRepository = buildingManagersRepository;
            this.personsRepository = personsRepository;
            this.adminJobsVotingsRepository = adminJobsVotingsRepository;
            this.partitionSpacesRepository = partitionSpacesRepository;
            this.rolesRepository = rolesRepository;
            this.housingMgmtUsersRepository = housingMgmtUsersRepository;
            this.emailNotifier = emailNotifier;
        }
 public AuthTokenService(IAuthTokenRepository authTokenRepository, IPersonsRepository personsRepository)
 {
     this._authTokenRepository = authTokenRepository;
     this._personsRepository   = personsRepository;
 }
예제 #20
0
 public PersonsController(ILogger <PersonsController> logger, IPersonsRepository personsRepository)
 {
     _logger            = logger;
     _personsRepository = personsRepository;
 }
예제 #21
0
 public NotesController(IPersonsRepository personsRepository)
 {
     this.personsRepository = personsRepository;
 }
예제 #22
0
 public TeacherController(IPersonsRepository <Teacher> studentRepository)
 {
     _rep = studentRepository;
 }
 public InformationFinder(IPersonsRepository repository)
 {
     Repository = repository;
 }
예제 #24
0
    public void Setup()
    {
        _personRepository = A.Fake <IPersonsRepository>();

        _studentService = new StudentsService(_personRepository);
    }
 public PersonsController(IPersonsRepository personsRepository,
                          ILogger <PersonsController> logger)
 {
     _personsRepository = personsRepository;
     _logger            = logger;
 }
예제 #26
0
 public PersonsService(ApplicationDbContext context, IMapper mapper, IPersonsRepository <PersonsModel> repo)
 {
     _repo   = repo;
     _mapper = mapper;
 }
예제 #27
0
 public AngularController()
 {
     this.personsRepository = new PersonsRepository();
 }
예제 #28
0
 public CollectionsUow(ApplicationDbContext context, IPersonsRepository persons) : base(context)
 {
     Persons = persons;
 }
 public PersonController(IPersonsRepository personsRepository, IHousingMgmtUsersRepository housingMgmtUsersRepository)
 {
     this.personsRepository = personsRepository;
     this.housingMgmtUsersRepository = housingMgmtUsersRepository;
 }
예제 #30
0
 public ClientController(IPersonsRepository personsRepository)
 {
     this.personsRepository = personsRepository;
 }
 public PersonsController(InventoryAccountingContext context)
 {
     _persons = new PersonsRepository(context);
 }
 public EmployeeController(IPersonsRepository personsRepository)
 {
     this.personsRepository = personsRepository;
 }
예제 #33
0
 public MainModel(IExrinContainer i_ExrinContainer, IPersonsRepository i_PersonsRepository, ILogger <MainModel> i_Logger)
     : base(i_ExrinContainer, new MainModelState())
 {
     r_PersonsRepository = i_PersonsRepository;
     r_Logger            = i_Logger;
 }
예제 #34
0
 public DeletePersonComponent(IUnitOfWork unitOfWork,
                              IPersonsRepository repository)
     : base(unitOfWork)
 {
     _personDataRepository = repository;
 }
예제 #35
0
 public PersonController(ISummariesRepository sumRep, IPersonsRepository perRep)
 {
     _sumRep = sumRep;
     _perRep = perRep;
 }
예제 #36
0
 public PersonsBl(IPersonsRepository personsRepository)
 {
     _personsRepository = personsRepository;
 }
예제 #37
0
 public PersonsService(IPersonsRepository personsRepository) : base()
 {
     this.personsRepository = personsRepository;
 }
예제 #38
0
 public HomeController(IStatisticDataRepository statisticDataRepository, IPersonsRepository personRepository, IInfraStructureRepository infrastructureRepository)
 {
     _statisticRepository = statisticDataRepository;
     _personRepository = personRepository;
     _infrastructureRepository = infrastructureRepository;
 }
예제 #39
0
 public EmailNotifier(IHousingMgmtUsersRepository housingMgmtUsersRepository, IPersonsRepository personsRepository)
 {
     this.housingMgmtUsersRepository = housingMgmtUsersRepository;
     this.personsRepository = personsRepository;
 }
예제 #40
0
 public ReportController(IPersonsRepository personsRepository)
 {
     _personsRepository = personsRepository;
 }
 public PersonApiController(IPersonsRepository _personsRepository)
 {
     personsRepository = _personsRepository;
 }
예제 #42
0
 public PersonsService(IPersonsRepository dal)
 {
     this.dal     = dal;
     base.baseDal = dal;
 }
예제 #43
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PersonsAction"/> class.
 /// </summary>
 /// <param name="personsRepository">
 /// The persons repository.
 /// </param>
 public PersonsAction(IPersonsRepository personsRepository)
 {
     this.personsRepository = personsRepository;
 }
예제 #44
0
 public PersonsProvider(IPersonsRepository personsRepository)
 {
     this.repository = personsRepository;
 }
예제 #45
0
 public CitizensListController(IPersonsRepository repo)
 {
     _repo = repo;
 }
예제 #46
0
 public PersonsController(IPersonsRepository npRepo,
                          ILoggerService logger)
 {
     _npRepo = npRepo;
     _logger = logger;
 }
예제 #47
0
 public PeopleController(IPersonsRepository personsRepository, ISummariesRepository summariesRepository)
 {
     _personsRepository = personsRepository;
       _summariesRepository = summariesRepository;
 }