public static ParkGrant GetCardgrant(string plateNumberID, out string ErrorMessage) { if (plateNumberID.IsEmpty()) { throw new ArgumentNullException("plateNumberID"); } IParkGrant factory = ParkGrantFactory.GetFactory(); return(factory.GetCardgrant(plateNumberID, out ErrorMessage)); }