public async Task DeleteGiftVoucher_InovokeExpectedMethods()
        {
            await _service.DeleteGiftVoucher(new GiftVoucher());

            _repositoryMock.Verify(c => c.DeleteAsync(It.IsAny <GiftVoucher>()), Times.Once);
            _mediatorMock.Verify(c => c.Publish(It.IsAny <EntityDeleted <GiftVoucher> >(), default(CancellationToken)), Times.Once);
        }
        public virtual async Task DeleteGiftVoucher(GiftVoucher giftVoucher)
        {
            await _giftVoucherService.DeleteGiftVoucher(giftVoucher);

            //activity log
            await _customerActivityService.InsertActivity("DeleteGiftVoucher", giftVoucher.Id, _translationService.GetResource("ActivityLog.DeleteGiftVoucher"), giftVoucher.Code);
        }