Пример #1
0
        /// <inheritdoc/>
        public async Task <HistoryUpdateResultModel> HistoryUpdateAsync(
            string endpoint, HistoryUpdateRequestModel <JToken> request)
        {
            var result = await _client.HistoryUpdateRawAsync(endpoint,
                                                             request.Map <HistoryUpdateRequestApiModel <JToken> >());

            return(result.Map <HistoryUpdateResultModel>());
        }
Пример #2
0
        /// <inheritdoc/>
        public async Task <HistoryUpdateResultModel> HistoryInsertValuesAsync(
            string endpoint, HistoryUpdateRequestModel <InsertValuesDetailsModel> request)
        {
            var result = await _client.HistoryInsertValuesAsync(endpoint,
                                                                request.Map <HistoryUpdateRequestApiModel <InsertValuesDetailsApiModel> >());

            return(result.Map <HistoryUpdateResultModel>());
        }