public static bool ModifyOrderStatus(string recordID, int status, out string errorMsg) { if (recordID.IsEmpty()) { throw new ArgumentNullException("recordID"); } IParkOrder factory = ParkOrderFactory.GetFactory(); return(factory.ModifyOrderStatus(recordID, status, out errorMsg)); }