Esempio n. 1
0
        public int Updatesms(B2b_company_saleset saleset)
        {
            using (var helper = new SqlHelper())
            {
                var id = new InternalB2bCompanySaleSet(helper).Updatesms(saleset);

                return(id);
            }
        }
Esempio n. 2
0
        public static B2b_company_saleset GetDirectSellByComid(string comid)
        {
            using (var helper = new SqlHelper())
            {
                try
                {
                    var salesetinfo = new InternalB2bCompanySaleSet(helper).GetDirectSellByComid(comid);

                    return(salesetinfo);
                }
                catch
                {
                    return(null);
                }
            }
        }