11 lines
360 B
C#
11 lines
360 B
C#
using EnvelopeGenerator.Domain.HttpResponse;
|
|
|
|
namespace EnvelopeGenerator.Application
|
|
{
|
|
public static class MappingExtensions
|
|
{
|
|
public static bool Ok(this GtxMessagingResponse gtxMessagingResponse)
|
|
=> gtxMessagingResponse.TryGetValue("message-status", out var status)
|
|
&& status?.ToString()?.ToLower() == "ok";
|
|
}
|
|
} |