コード例 #1
0
 public PhoneService(
     IGraduateRepository graduateRepository,
     IPhoneRepository phoneRepository,
     NotificationHandler notifications,
     IMapper mapper,
     ITypeGenericRepository typeGenericRepository) : base(phoneRepository) {
     _phoneRepository = phoneRepository;
     _notifications = notifications;
     _typeGenericRepository = typeGenericRepository;
     _mapper = mapper;
     _graduateRepository = graduateRepository;
 }
コード例 #2
0
 public AddressService(
     IGraduateRepository graduateRepository,
     IAddressRepository addressRepository,
     NotificationHandler notifications,
     IMapper mapper,
     ITypeGenericRepository typeGenericRepository) : base(addressRepository)
 {
     _addressRepository     = addressRepository;
     _notifications         = notifications;
     _typeGenericRepository = typeGenericRepository;
     _mapper             = mapper;
     _graduateRepository = graduateRepository;
 }
コード例 #3
0
 public GraduateService(
     IGraduateRepository graduateRepository,
     UserManager <ApplicationUser> userManager,
     NotificationHandler notifications,
     IMapper mapper,
     ITypeGenericRepository typeGenericRepository) : base(graduateRepository)
 {
     _graduateRepository    = graduateRepository;
     _userManager           = userManager;
     _notifications         = notifications;
     _typeGenericRepository = typeGenericRepository;
     _mapper = mapper;
 }
コード例 #4
0
        public RepositoryWrapper(
            CoreContext repositoryContext,
            IUserRepository userRepository,
            IUndergraduateRepository undergraduateRepository,
            IRoleRepository roleRepository,
            IEmployeeRepository employeeRepository,
            IGraduateRepository graduateRepository,
            IUJournalRepository uJournalRepository,
            IGJournalRepository gJournalRepository,
            IAcademicDegreeRepository degreeRepository,
            IAcademicRankRepository rankRepository,
            IJobPositionRepository positionRepository,
            IDepartmentRepository departmentRepository,
            ISpecialtyRepository specialtyRepository,
            IExamRepository examRepository,
            IWorkPlanRepository workPlanRepository,
            IEducationPhaseRepository educationPhases
            )
        {
            this._dbContext = repositoryContext;

            this._userRepository          = userRepository;
            this._undergraduateRepository = undergraduateRepository;
            this._roleRepository          = roleRepository;
            this._employeeRepository      = employeeRepository;
            this._graduateRepository      = graduateRepository;
            this._uJournalRepository      = uJournalRepository;
            this._gJournalRepository      = gJournalRepository;
            this._degreeRepository        = degreeRepository;
            this._rankRepository          = rankRepository;
            this._positionRepository      = positionRepository;
            this._departmentRepository    = departmentRepository;
            this._specialtyRepository     = specialtyRepository;
            this._examRepository          = examRepository;
            this._workPlanRepository      = workPlanRepository;
            this._educationPhases         = educationPhases;
        }