public async Task HandleAsync(SecurityBought @event) { if (@event == null) { throw new CustomException("securityBought_event_empty", "Could not buy the security."); } await service.BuySecuritiesAsync(@event); }