Exemple #1
0
        public async Task DeleteAsync(string merchantName)
        {
            await _merchantRepository.DeleteAsync(merchantName);

            await _log.WriteInfoAsync(nameof(MerchantService), nameof(DeleteAsync),
                                      new{ MerchantId = merchantName }.ToJson(),
                                      "Merchant deleted");
        }
Exemple #2
0
        public async Task DeleteAsync(string merchantName)
        {
            await _merchantRepository.DeleteAsync(merchantName);

            _log.Info("Merchant deleted", new { MerchantId = merchantName });
        }