public async Task Handle(BannerCacheEvent mesage) { try { RBannerCache bannerCache = new RBannerCache(mesage); await _bannerService.AddToCache(bannerCache); } catch (Exception e) { Console.WriteLine(e); e.Data["Input"] = mesage; throw; } }
public async Task Handle(BannerCacheEvent mesage) { try { RBannerCache bannerCache = new RBannerCache(mesage); await _bannerService.AddToCache(bannerCache); } catch (Exception e) { Console.WriteLine(e); e.Data["Input"] = mesage; throw; } }