Ejemplo n.º 1
0
        public async Task <bool> CardPayoutNotificationCallbackAsync(ApiCardPayoutResponse cardPayoutNotification)
        {
            try
            {
                //simulate asynchronous work, here you will write your own business logic
                await Task.Delay(50);

                //signal operation success by returning true
                return(true);
            }
            catch (Exception ex)
            {
                // log the exception
                _logger.LogError(ex.Message);

                //signal operation failure by returning false
                return(false);
            }
        }
Ejemplo n.º 2
0
 public Task <bool> CardPayoutNotificationCallbackAsync(ApiCardPayoutResponse cardPayoutNotification)
 {
     return(CardPayoutNotificationCallback(cardPayoutNotification));
 }