private void SaveAmendLog() { try { LC_LCContract_Log _LC_LCContract_Log = new LC_LCContract_Log(); if (txtLCAmendDate.Text == "") { ScriptManager.RegisterStartupScript(this.Page, Page.GetType(), "text", "func('Select Date')", true); return; } _LC_LCContract_Log.LCNo = txtLcNo.Text; _LC_LCContract_Log.LC_Amend_Date = Convert.ToDateTime(txtLCAmendDate.Text); _LC_LCContract_Log.DateofExpiry = Convert.ToDateTime(txtDateofExpiry.Text); _LC_LCContract_Log.TotalLC_ValueUSD = Convert.ToDecimal(txtTotalAmend_USDValue.Text); _LC_LCContract_Log.TotalLC_ValueBDT = Convert.ToDecimal(txtTotalAmend_BDTValue.Text); _LC_LCContract_Log.LC_Amend_USDValue = Convert.ToDouble(txtLCAmend_USDValue.Text); _LC_LCContract_Log.LC_Amend_BDTValue = Convert.ToDouble(txtLCAmend_BDTValue.Text); _LC_LCContract_Log.LC_Total_USDValue = Convert.ToDouble(txtTotalAmend_USDValue.Text); _LC_LCContract_Log.LC_Total_BDTValue = Convert.ToDouble(txtTotalAmend_BDTValue.Text); _LC_LCContract_Log.Edit_User = ((SessionUser)Session["SessionUser"]).UserId; _LC_LCContract_Log.Edit_Date = DateTime.Now; _LC_LCContract_Log.OCODE = ((SessionUser)Session["SessionUser"]).OCode; int resultsLog = _masterlcBLL.SaveAmendLog(_LC_LCContract_Log); } catch (Exception ex) { throw ex; } }
internal int SaveAmendLog(LC_LCContract_Log _LC_LCContract_Log) { return(_masterlcDAL.SaveAmendLog(_LC_LCContract_Log)); }