Exemple #1
0
        public async Task <SearchInsertionOrdersResponse> SearchInsertionOrdersAsync(ApiAuthentication auth, OrderBy[] ordering, Paging pageing, Predicate[] predicates)
        {
            var request = new SearchInsertionOrdersRequest
            {
                Ordering   = ordering,
                PageInfo   = pageing,
                Predicates = predicates,
            };

            try
            {
                SetAuthHelper.SetAuth(auth, request);

                return(await Check().SearchInsertionOrdersAsync(request));
            }
            catch (Exception ex)
            {
                Log(new LogEventArgs(ServiceType.CustomerBilling, "SearchInsertionOrdersAsync", ex.Message, new { Request = request }, ex));
            }

            return(null);
        }