Exemple #1
0
        public static bool DeleteByCardId(string cardId)
        {
            if (cardId.IsEmpty())
            {
                throw new ArgumentNullException("cardId");
            }

            IParkGrant factory = ParkGrantFactory.GetFactory();
            bool       result  = factory.DeleteByCardId(cardId);

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