Пример #1
0
        public object InsertUpdateSAInvoiceDetail([FromBody] SAInvoiceDetail item)
        {
            ServiceResult result = new ServiceResult();

            try
            {
                result.Success = new BLSAInvoiceDetail().InsertUpdateSAInvoiceDetail(item);
            }
            catch (Exception ex)
            {
                CommonFunction.WriteLog(ex, SerializeUtil.Serialize(item), Request.RequestUri.ToString());
                result.Success   = false;
                result.ErrorCode = ex.Message;
            }
            return(result);
        }
Пример #2
0
 public bool InsertUpdateSAInvoiceDetail(SAInvoiceDetail item)
 {
     return(new DLSAInvoiceDetail().InsertUpdateObject(item));
 }