public static List <ParkOrder> GetOrderByTimeseriesIDByStatus(string timeseriesID, int status, out string errorMsg) { if (timeseriesID.IsEmpty()) { throw new ArgumentNullException("timeseriesID"); } IParkOrder factory = ParkOrderFactory.GetFactory(); return(factory.GetOrderByTimeseriesIDByStatus(timeseriesID, status, out errorMsg)); }