public async Task <IPaymentProduct> UpdateProductAsync(string productId, IPaymentProduct product)
        {
            if (string.IsNullOrEmpty(productId))
            {
                throw new Exception("Product id not provided");
            }
            await _productService.UpdateAsync(productId, _mapper.Map <ProductUpdateOptions>(product));

            return(product);
        }
        public async Task <IPaymentProduct> InsertProductAsync(IPaymentProduct product)
        {
            var result = await _productService.CreateAsync(_mapper.Map <ProductCreateOptions>(product));

            return(_mapper.Map <IPaymentProduct>(result));
        }