Ejemplo n.º 1
0
        public async Task <CustomerContact> GetCustomerContact(int tenantId, int?siteId,
                                                               int?masterCatalogId, int accountId, int contactId)
        {
            _apiContext = new ApiContext(tenantId, siteId, masterCatalogId);

            var customerContactResource = new CustomerContactResource(_apiContext);
            var contact = await customerContactResource.GetAccountContactAsync(accountId, contactId);

            return(contact);
        }