Ejemplo n.º 1
0
        public static bool Delete(string PlanID)
        {
            if (string.IsNullOrWhiteSpace(PlanID))
            {
                throw new ArgumentNullException("PlanID");
            }

            IParkLpPlan factory = ParkLpPlanFactory.GetFactory();
            bool        result  = factory.Delete(PlanID);

            if (result)
            {
                OperateLogServices.AddOperateLog(OperateType.Delete, string.Format("recordId:{0}", PlanID));
            }
            return(result);
        }