public static List <ParkGrant> QueryByParkingIds(List <string> parkingIds) { if (parkingIds.Count == 0) { throw new ArgumentNullException("parkingIds"); } IParkGrant factory = ParkGrantFactory.GetFactory(); return(factory.QueryByParkingIds(parkingIds)); }