CCN.Modules.Car.DataAccess.CarDataAccess.DelRecommendCar C# (CSharp) Method

DelRecommendCar() public method

删除推荐车源
public DelRecommendCar ( string innerid ) : int
innerid string
return int
        public int DelRecommendCar(string innerid)
        {
            const string sql = @"delete from cust_site_recommendcar where innerid = @innerid;";

            try
            {
                Helper.Execute(sql, new { innerid });
                return 1;
            }
            catch (Exception ex)
            {
                LoggerFactories.CreateLogger().Write("删除推荐车源异常:", TraceEventType.Error, ex);
                return 0;
            }
        }
CarDataAccess