Ejemplo n.º 1
0
        public AuthController(
            IOptions <JwtIssuerOptions> jwtOptions,
            JwtCurrentUserFactory jwtCurrentUserFactory,
            JwtFactory jwtFactory,
            IEmployeeRepository employeeRepository,
            IEmployeeBusinessService employeeBusinessService,
            IResidentRepository residentRepository,
            IResidentBusinessService residentBusinessService)
        {
            _jwtOptions = jwtOptions.Value;
            _jwtFactory = jwtFactory;

            _employeeRepository      = employeeRepository;
            _employeeBusinessService = employeeBusinessService;

            _residentRepository      = residentRepository;
            _residentBusinessService = residentBusinessService;
        }
Ejemplo n.º 2
0
 public ResidentController(IResidentBusinessService residentBusinessService)
 {
     _residentBusinessService = residentBusinessService;
 }