示例#1
0
 public DepositoryHandler(
     IEntityRepository<IEndowmentEntity> entityRepository,
     IDepositoryRepository depositoryRepository,
     IDepositoryFactory depositoryFactory)
 {
     _entityRepository = entityRepository;
     _depositoryRepository = depositoryRepository;
     _depositoryFactory = depositoryFactory;
 }
 public EndowmentRepositories(
     IComplianceRoleRepository complianceRoles,
     IContactRepository contacts,
     IDepositoryRepository depositories,
     IGlobalRoleRepository globalRoles,
     IModeratorRepository moderators,
     IPersonRepository persons,
     IProjectRepository projects,
     IServiceDataRepository serviceData,
     IStatusRepository statuses,
     ITransactionRepository transactions,
     IUserRepository users,
     IProjectQueueRepository projectQueue,
     IProjectPriceRepository prices,
     IAcceptedProjectRepository acceptedProject,
     IHistoryProjectRepository historyProject,
     IModeratorLevelRepository moderatorLevel,
     ITempDepositoryRepository tempDepository,
     IVotingPeriodRepository votingPeriod,
     ITempDepositoryHistoryRepository tempDepositoryHistory,
     IContactTypesRepository contactTypes,
     ITransactionHistoryRepository transactionHistory,
     IVotingPeriodReportRepository votingPeriodReport)
 {
     ComplianceRoles = complianceRoles;
     Contacts = contacts;
     Depositories = depositories;
     GlobalRoles = globalRoles;
     Moderators = moderators;
     Persons = persons;
     Projects = projects;
     ServiceData = serviceData;
     Statuses = statuses;
     Transactions = transactions;
     Users = users;
     ProjectQueue = projectQueue;
     Prices = prices;
     AcceptedProject = acceptedProject;
     HistoryProject = historyProject;
     ModeratorLevel = moderatorLevel;
     TempDepository = tempDepository;
     VotingPeriod = votingPeriod;
     TempDepositoryHistory = tempDepositoryHistory;
     ContactTypes = contactTypes;
     TransactionHistory = transactionHistory;
     VotingPeriodReport = votingPeriodReport;
 }