예제 #1
0
        public static List <ParkGrant> QueryByParkingAndPlateId(string parkingId, string plateId)
        {
            if (plateId.IsEmpty())
            {
                throw new ArgumentNullException("plateId");
            }
            if (parkingId.IsEmpty())
            {
                throw new ArgumentNullException("parkingId");
            }

            IParkGrant factory = ParkGrantFactory.GetFactory();

            return(factory.QueryByParkingAndPlateId(parkingId, plateId));
        }