public int Updatesms(B2b_company_saleset saleset) { using (var helper = new SqlHelper()) { var id = new InternalB2bCompanySaleSet(helper).Updatesms(saleset); return(id); } }
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); } } }