public TrelloAuthorizationController(IConfiguration config, ApplicationDbContext context, ITrelloTokenService tlTokenService) { _context = context; _config = config; ConsumerKey = _config.GetValue <string>("Trello:ConsumerKey"); ConsumerSecret = _config.GetValue <string>("Trello:ConsumerSecret"); _tlTokenService = tlTokenService; }
public BoardsController(IBoardService boardService, IListService listService, IOrganizationService orgService, IMemberService memberService, ITrelloTokenService trelloTokenService) { _orgService = orgService; _memberService = memberService; _trelloTokenService = trelloTokenService; _boardService = boardService; _listService = listService; trelloToken = _trelloTokenService.GetToken(); }