async Task OnSlotSelect(SchedulerSlotSelectEventArgs args) { Console.WriteLine($"SlotSelect: Start={args.Start} End={args.End}"); Appointment data = await DialogService.OpenAsync <AddAppointmentPage>("Add Appointment", new Dictionary <string, object> { { "Start", args.Start }, { "End", args.End } }); if (data != null) { var appointment = await AppointmentsRepository.AddAppointment(data); if (appointment != null) { //Appointments.Add(appointment); // Either call the Reload method or reassign the Data property of the Scheduler //await scheduler.Reload(); } else { NotificationService.Notify(new NotificationMessage { Severity = NotificationSeverity.Warning, Detail = "An error occured on the server. The appointment was not added.", Duration = 30000, Summary = "Error" }); } } }