public InvoicesController(ITokenService tokenService, IXeroClient xeroClient, IAccountingApi accountingApi) { _tokenService = tokenService; _xeroClient = xeroClient; _accountingApi = accountingApi; }
//private Guid? accid = new Guid(); public HomeController(MemoryTokenStore tokenStore, IXeroClient xeroClient, IAccountingApi accountingApi) { _tokenStore = tokenStore; _xeroClient = xeroClient; _accountingApi = accountingApi; }
// private readonly List<EmployeeModel> _internalEmployee = new List<EmployeeModel>(); public XeroEmployeeService(IAccountingApi accountingApi, ILogger <XeroEmployeeService> logger) { _accountingApi = accountingApi; _logger = logger; }