public JUsersRepository(IOptions <JCredentials> credentials, DataContext context, IMapper mapper, IJUsersService userService) : base( credentials) { _context = context; _userService = userService; }
public ValuesController(ILogger <ValuesController> logger, IOptions <JCredentials> options, IJUsersService usersService, IJProjectService projectService, IJSprintService sprintService, IJBoardService boardService, IJIssueTypeService issueTypeService, IJIssueCommentService commentService, IJIssueWorklogService worklogService) { _logger = logger; _options = options; _usersService = usersService; _projectService = projectService; _sprintService = sprintService; _boardService = boardService; _issueTypeService = issueTypeService; _commentService = commentService; _worklogService = worklogService; Credentials = options.Value; }