Exemple #1
0
        public static ParkGrant QueryByParkingAndPlateNumber(string parkingId, string plateNumber)
        {
            if (parkingId.IsEmpty())
            {
                throw new ArgumentNullException("parkingId");
            }
            if (plateNumber.IsEmpty())
            {
                throw new ArgumentNullException("plateNumber");
            }

            IParkGrant factory = ParkGrantFactory.GetFactory();

            return(factory.QueryByParkingAndPlateNumber(parkingId, plateNumber));
        }