示例#1
0
 public PersonnelService(IPersonnelRepository personnelRepository,
                         IBloodDonationRepository bloodDonationRepository, IMapper mapper, IEncrypter encrypter)
 {
     this.personnelRepository     = personnelRepository;
     this.bloodDonationRepository = bloodDonationRepository;
     this.mapper    = mapper;
     this.encrypter = encrypter;
 }
 public BloodDonationService(IBloodDonationRepository bloodDonationRepository, IDonorRepository donorRepository,
                             IBloodTypeRepository bloodTypeRepository, IPersonnelRepository personnelRepository, IMapper mapper)
 {
     this.bloodDonationRepository = bloodDonationRepository;
     this.donorRepository         = donorRepository;
     this.bloodTypeRepository     = bloodTypeRepository;
     this.personnelRepository     = personnelRepository;
     this.mapper = mapper;
 }
示例#3
0
 public PersonnelController(IUnitOfWork unitOfWork,
                            IUserRepository userRepository,
                            IPersonnelRepository personnelRepository,
                            ISalaryRepository salaryRepository)
 {
     _unitOfWork          = unitOfWork;
     _personnelRepository = personnelRepository;
     _userRepository      = userRepository;
     _salaryRepository    = salaryRepository;
 }
示例#4
0
 public PersonnelController(IUnitOfWork unitOfWork,
     IUserRepository userRepository,
     IPersonnelRepository personnelRepository,
     ISalaryRepository salaryRepository)
 {
     _unitOfWork = unitOfWork;
     _personnelRepository = personnelRepository;
     _userRepository = userRepository;
     _salaryRepository = salaryRepository;
 }
示例#5
0
 public PersonController(IPassengerRepository passengerRepository, IPersonnelRepository personnelRepository)
 {
     _passengerRepository = passengerRepository;
     _personnelRepository = personnelRepository;
 }
示例#6
0
 public PersonnelController(IConfiguration configuration, IPersonnelRepository objRep)
 {
     this.objRep        = objRep;
     this.configuration = configuration;
 }
示例#7
0
 public PersonnelManager(IPersonnelRepository personnelRepository
                         , RoleManager <MongoIdentityRole> roleManager)
 {
     _personnelRepository = personnelRepository;
     _roleManager         = roleManager;
 }
 public PersonnelController(IPersonnelRepository personnelRepository, IDeductionRepository deductionRepository)
 {
     _personnelRepository = personnelRepository;
     _deductionRepository = deductionRepository;
 }
 public PersonnelManager(IPersonnelRepository personnelRepository, IOptions <AppSettings> appSettings, IUnitOfWork unitOfWork)
 {
     _unitOfWork          = unitOfWork;
     _appSettings         = appSettings.Value;
     _personnelRepository = personnelRepository;
 }
 public ReputationService(IReputationRepository reputationRepository, IPersonnelRepository personnelRepository, IUnitOfWork unitOfWork)
 {
     _reputationRepository = reputationRepository;
     _personnelRepository  = personnelRepository;
     _unitOfWork           = unitOfWork;
 }
 public PersonnelService(IPersonnelRepository personnelRepository)
 {
     _personnelRepository = personnelRepository;
 }
示例#12
0
 public PersonnelController(IPersonnelRepository personnelRepository)
 {
     _personnelRepository = personnelRepository ?? throw new ArgumentNullException(nameof(personnelRepository));
 }
示例#13
0
 public PersonnelService(IPersonnelRepository personnelRepository)
     : base(personnelRepository)
 {
 }
示例#14
0
 public PersonnelService(IPersonnelRepository personnelRepository, IUnitOfWork unitOfWork)
 {
     _personnelRepository = personnelRepository;
     _unitOfWork          = unitOfWork;
 }
示例#15
0
 public PersonnelController(IPersonnelRepository dataRepository)
 {
     _dataRepository = dataRepository;
 }