internal long DeleteEnterpriseFutureMarket(BOEnterpriseFutureMarketing model) { try { long result = 0; Hashtable ht = new Hashtable(); ht.Add("EnterpriseFutureMarketID", model.EnterpriseFutureMarketID); ht.Add("CreatedBy", model.CreatedBy); ht.Add("CreatedPC", model.CreatedPC); result = Convert.ToInt64(pbsUtility.InsertData(ht, "sp_DeleteEnterpriseFutureMarket")); return(result); } catch (Exception ex) { throw new Exception(ex.Message.ToString()); } }
internal long InsertEnterpriseFutureMarket(BOEnterpriseFutureMarketing model) { try { long result = 0; Hashtable ht = new Hashtable(); ht.Add("EnterpriseID", model.EnterpriseID); ht.Add("CountryID", model.CountryID); ht.Add("ItemDescription", model.ItemDescription); ht.Add("Amount", model.Amount); ht.Add("Remarks", model.Remarks); ht.Add("CreatedBy", model.CreatedBy); ht.Add("CreatedPC", model.CreatedPC); result = Convert.ToInt64(pbsUtility.InsertData(ht, "sp_InsertEnterpriseFutureMarket")); return(result); } catch (Exception ex) { throw new Exception(ex.Message.ToString()); } }