public virtual JsonNetResult SaveDetailOptFields(List <ReceiptDetailOptionalField> receiptOptionalField, string receiptNumber, bool isDetail) { try { return(JsonNet(ControllerInternal.SaveOptionalFields(receiptOptionalField, receiptNumber, isDetail))); } catch (BusinessException businessException) { return(JsonNet(BuildErrorModelBase(CommonResx.SaveFailedMessage2, businessException, CommonResx.OptionalField))); } }