Ejemplo n.º 1
0
 public UserService(IMapper mapper, IUserRepository repository,
                    IOptionsMonitor <PersonnelFilesOptions> optionsMonitor, IAccountService accountService,
                    IDepartmentService departmentService, IAccountRepository accountRepository,
                    IAccountRoleRepository accountRoleRepository, IUserContactRepository contactRepository)
 {
     _mapper                = mapper;
     _repository            = repository;
     _accountService        = accountService;
     _departmentService     = departmentService;
     _accountRepository     = accountRepository;
     _accountRoleRepository = accountRoleRepository;
     _contactRepository     = contactRepository;
     _options               = optionsMonitor.CurrentValue;
 }
Ejemplo n.º 2
0
 public UserService(IMapper mapper, IUserRepository repository,
                    IOptionsMonitor <PersonnelFilesOptions> optionsMonitor, IUnitOfWork <AdminDbContext> adminUow,
                    IUnitOfWork <PersonnelFilesDbContext> uow, IAccountService accountService,
                    IDepartmentService departmentService, IAccountRepository accountRepository,
                    IAccountRoleRepository accountRoleRepository, IUserContactRepository contactRepository)
 {
     _mapper                = mapper;
     _repository            = repository;
     _adminUow              = adminUow;
     _uow                   = uow;
     _accountService        = accountService;
     _departmentService     = departmentService;
     _accountRepository     = accountRepository;
     _accountRoleRepository = accountRoleRepository;
     _contactRepository     = contactRepository;
     _options               = optionsMonitor.CurrentValue;
 }
 public UserContactHandler(IUserContactRepository userContactRepository)
 {
     _userContactRepository = userContactRepository;
 }
Ejemplo n.º 4
0
 public UserContactService(IMapper mapper, IUserContactRepository repository)
 {
     _mapper     = mapper;
     _repository = repository;
 }
 /// <inheritdoc />
 public UserContactController(UserManager <User> userManager, IUserContactRepository userContactRepository)
 {
     this.userManager           = userManager;
     this.userContactRepository = userContactRepository;
 }