Esempio n. 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);
        }
Esempio n. 2
0
 public bool InsertUpdateSAInvoiceDetail(SAInvoiceDetail item)
 {
     return(new DLSAInvoiceDetail().InsertUpdateObject(item));
 }