コード例 #1
0
 public InvoicesController(ITokenService tokenService, IXeroClient xeroClient, IAccountingApi accountingApi)
 {
     _tokenService  = tokenService;
     _xeroClient    = xeroClient;
     _accountingApi = accountingApi;
 }
コード例 #2
0
        //private Guid? accid = new Guid();

        public HomeController(MemoryTokenStore tokenStore, IXeroClient xeroClient, IAccountingApi accountingApi)
        {
            _tokenStore    = tokenStore;
            _xeroClient    = xeroClient;
            _accountingApi = accountingApi;
        }
コード例 #3
0
        // private readonly List<EmployeeModel> _internalEmployee = new List<EmployeeModel>();


        public XeroEmployeeService(IAccountingApi accountingApi, ILogger <XeroEmployeeService> logger)
        {
            _accountingApi = accountingApi;
            _logger        = logger;
        }