Exemplo n.º 1
0
        private async Task AcceptNotification(NotificationDto notification, NotificationAcceptRejectDto acceptRejectDetails = null)
        {
            logger.LogInformation($"Accepting notification {notification.NotificationId}");
            var response = await fomaSdk.SendData <NotificationAcceptRejectDto>(notification.Links[LinkRels.Accept].Href);

            logger.LogInformation($"Accepting notification {notification.NotificationId} resulted in {response.StatusCode}.");
        }
Exemplo n.º 2
0
 private async Task AcceptNotification(NotificationDto notification, NotificationAcceptRejectDto acceptRejectDetails = null)
 {
     logger.LogInformation($"Accepting notification {notification.NotificationId}");
     await fomaSdk.SendData <NotificationAcceptRejectDto>(notification.Links[LinkRels.Accept].Href);
 }