Exemplo n.º 1
0
 public virtual JsonNetResult Post(ReceiptHeader headerModel, long sequenceNumber, bool yesNo)
 {
     try
     {
         return(JsonNet(ControllerInternal.Post(headerModel, sequenceNumber, yesNo)));
     }
     catch (BusinessException businessException)
     {
         return(JsonNet(BuildErrorModelBase(CommonResx.PostingFailedMessage, businessException, ReceiptHeaderResx.Receipt)));
     }
 }