internal long DeleteEnterpriseInvestment(BOEnterpriseInvestment model)
        {
            try
            {
                long      result = 0;
                Hashtable ht     = new Hashtable();
                ht.Add("EnterpriseInvestmentID", model.EnterpriseInvestmentID);
                ht.Add("CreatedBy", model.CreatedBy);
                ht.Add("CreatedPC", model.IpAddress);

                result = Convert.ToInt64(idbutility.InsertData(ht, "sp_DeleteEnterpriseInvestment"));
                return(result);
            }
            catch (Exception ex)
            {
                return(0);
            }
        }
        internal string UpdateEnterpriseInvestment(BOEnterpriseInvestment model)
        {
            try
            {
                Hashtable ht = new Hashtable();
                ht.Add("EnterpriseInvestmentID", model.EnterpriseInvestmentID);
                ht.Add("EnterpriseID", model.EnterpriseID);
                ht.Add("InvestmentTypeId", model.InvestmentTypeId);
                ht.Add("CountryID", model.CountryID);
                ht.Add("TotalAmount", model.TotalAmount);
                ht.Add("Remarks", model.Remarks);
                ht.Add("CreatedBy", model.CreatedBy);
                ht.Add("UpdatedPC", model.IpAddress);

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