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}."); }
private async Task AcceptNotification(NotificationDto notification, NotificationAcceptRejectDto acceptRejectDetails = null) { logger.LogInformation($"Accepting notification {notification.NotificationId}"); await fomaSdk.SendData <NotificationAcceptRejectDto>(notification.Links[LinkRels.Accept].Href); }