/// <summary>
 /// Find whether Receipt record with Receipt Number passed exists
 /// </summary>
 /// <param name="id">Receipt Number</param>
 /// <param name="model">A model to save the current data</param>
 /// <returns>Returns a JsonNetResult object</returns>
 public virtual JsonNetResult Exists(string id, ReceiptHeader model)
 {
     try
     {
         return(JsonNet(ControllerInternal.Exists(id, model)));
     }
     catch (BusinessException businessException)
     {
         return(JsonNet(BuildErrorModelBase(CommonResx.GetFailedMessage, businessException, ReceiptHeaderResx.ReceiptNumber)));
     }
 }