internal long DeleteEnterpriseGovtAssist(BOEnterpriseGovtAssist model)
        {
            try
            {
                long      result = 0;
                Hashtable ht     = new Hashtable();
                ht.Add("EnterpriseGovtAssistID", model.EnterpriseGovtAssistID);
                ht.Add("DeletedBy", model.createdBy);
                ht.Add("DeletedPC", model.IpAddress);

                result = Convert.ToInt64(idbutility.InsertData(ht, "sp_DeleteEnterpriseGovtAssist"));
                return(result);
            }
            catch (Exception ex)
            {
                return(0);
            }
        }
        internal string UpdateEnterpriseGovtAssist(BOEnterpriseGovtAssist model)
        {
            try
            {
                Hashtable ht = new Hashtable();

                ht.Add("EnterpriseGovtAssistID", model.EnterpriseGovtAssistID);
                ht.Add("EnterpriseID", model.EnterpriseID);
                ht.Add("GovtAssistTypeID", model.GovtAssistTypeID);
                ht.Add("EffectFromYearID", model.EffectFromYearID);
                ht.Add("Remarks", model.Remarks);
                ht.Add("UpdatedBy", model.createdBy);
                ht.Add("UpdatedPC", model.IpAddress);

                return(idbutility.GetDataByProc(ht, "sp_UpdateEnterpriseGovtAssist").Rows[0]["ReturnMessage"].ToString());
            }
            catch (Exception ex)
            {
                return("Enterprise Govt. Assist update failed: " + ex.Message.ToString());
            }
        }