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