public async Task <PaymentRequestHistoryItem> GetAsync(string invoiceId, string paymentRequstId)
        {
            PaymentRequestHistoryItemEntity entities =
                await _storage.GetDataAsync(GetPartitionKey(invoiceId), GetRowKey(paymentRequstId));

            return(Mapper.Map <PaymentRequestHistoryItem>(entities));
        }
        public async Task InsertAsync(PaymentRequestHistoryItem historyItem)
        {
            var entity = new PaymentRequestHistoryItemEntity(
                GetPartitionKey(historyItem.InvoiceId), GetRowKey(historyItem.PaymentRequestId));

            Mapper.Map(historyItem, entity);

            await _storage.InsertAsync(entity);
        }