Esempio n. 1
0
        public GovNotifyStatusResponse GetStatusForLetter(string documentId, string govNotifyNotificationId)
        {
            var response = _govNotifyClient.GetNotificationById(govNotifyNotificationId);

            LambdaLogger.Log($"GovNotify responded successfully with status {response.status}");
            return(new GovNotifyStatusResponse
            {
                Status = GetStatus(response.status),
                SentAt = response.completedAt
            });
        }