internal long DeleteEnterpriseImport(BOEnterpriseImport model)
        {
            try
            {
                long      result = 0;
                Hashtable ht     = new Hashtable();
                ht.Add("EnterpriseImportID", model.EnterpriseImportID);
                ht.Add("CreatedBy", model.CreatedBy);
                ht.Add("CreatedPC", model.CreatedPC);

                result = Convert.ToInt64(pbsUtility.InsertData(ht, "sp_DeleteEnterpriseImport"));
                return(result);
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message.ToString());
            }
        }
        internal long UpdateEnterpriseImport(BOEnterpriseImport model)
        {
            try
            {
                long      result = 0;
                Hashtable ht     = new Hashtable();
                ht.Add("EnterpriseImportID", model.EnterpriseImportID);
                ht.Add("ImportTypeID", model.ImportTypeID);
                ht.Add("EnterpriseID", model.EnterpriseID);
                ht.Add("ItemDescription", model.ItemDescription);
                ht.Add("TotalAmount", model.TotalAmount);
                ht.Add("YearID", model.YearId);
                ht.Add("Remarks", model.Remarks);
                ht.Add("CreatedBy", model.CreatedBy);
                ht.Add("CreatedPC", model.CreatedPC);

                result = Convert.ToInt64(pbsUtility.InsertData(ht, "sp_UpdateEnterpriseImport"));
                return(result);
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message.ToString());
            }
        }