예제 #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);
            }
        }
예제 #2
0
 public Task <bool> CardPayoutNotificationCallbackAsync(ApiCardPayoutResponse cardPayoutNotification)
 {
     return(CardPayoutNotificationCallback(cardPayoutNotification));
 }