Beispiel #1
0
        protected void btnReject_Click(object sender, EventArgs e)
        {
            if (!string.IsNullOrEmpty(hdLienTransNo.Value))
            {
                Lien    oLien    = new Lien(hdLienTransNo.Value);
                LienDAL oLienDAL = new LienDAL();
                oLien.UserDetails = ucUserDet.UserDetail;

                Result oResult = (Result)oLienDAL.RejectLienMark(oLien);
                if (oResult.Status)
                {
                    ucMessage.OpenMessage(Constants.MSG_SUCCESS_REJECT, Constants.MSG_TYPE_SUCCESS);
                }
                else
                {
                    ucMessage.OpenMessage(Constants.MSG_ERROR_REJECT, Constants.MSG_TYPE_ERROR);
                }
            }
            else
            {
                ucMessage.OpenMessage(Constants.MSG_ERROR_NOT_FOUND + " to Reject", Constants.MSG_TYPE_INFO);
            }
        }