Update SchedulingOrderRepository.cs