예제 #1
0
        private void SynData_DeleteT_Custumerads(int _ID, string urlService)
        {
            string _sql = "[Syn_DeleteOneFromT_Customer_Ads]";

            ServicesPutDataBusines.UltilFunc _untilDAL = new ServicesPutDataBusines.UltilFunc(urlService);
            try
            {
                _untilDAL.ExecStore(_sql, new string[] { "@ID" }, new object[] { _ID });
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
예제 #2
0
        private void SynData_UpdataStatusT_Custumerads(string strwhere, string urlService)
        {
            string _sql = "[Syn_UpdateStatusCustomer_Ads]";

            ServicesPutDataBusines.UltilFunc _untilDAL = new ServicesPutDataBusines.UltilFunc(urlService);
            try
            {
                _untilDAL.ExecStore(_sql, new string[] { "@WhereCondition" }, new object[] { strwhere });
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }