DNN-5984 SchedulingController.AddSchedule throws System.InvalidCastException exception

Return the ID generated for Insert into Schedule table command.