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; }
public ResidentController(IResidentBusinessService residentBusinessService) { _residentBusinessService = residentBusinessService; }