public static ParkIORecord GetNoExitIORecordByPlateNumber(string parkid, string plateNumber, out string ErrorMessage) { if (parkid.IsEmpty()) { throw new ArgumentNullException("mode"); } if (plateNumber.IsEmpty()) { throw new ArgumentNullException("plateNumber"); } IParkIORecord factory = ParkIORecordFactory.GetFactory(); return(factory.GetNoExitIORecordByPlateNumber(parkid, plateNumber, out ErrorMessage)); }