예제 #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>());
        }