public static bool updateLog(string messageId, string ackCode, string _textMessage) { try { IntegrationRepository repo = new IntegrationRepository(); return(repo.updateLog(messageId, ackCode, _textMessage)); } catch (Exception ex) { throw ex; } }
public static bool createLog(string messageId, HMHL7MessageType messageType, string refId, HMHL7MessageDirection direction, string ackCode = "", string _textMessage = "") { try { IntegrationRepository repo = new IntegrationRepository(); return(repo.createLog(messageId, messageType, refId, direction, ackCode, _textMessage)); } catch (Exception ex) { throw ex; } }