private void GenerateAppointments(DateSpan dateSpan)
        {
            if (!this.isInitialLoad)
            {
                ScheduleViewRepository.SaveData(() => this.LoadAppointments(dateSpan));
            }
            else
            {
                LoadAppointments(dateSpan);

                isInitialLoad = false;
            }
        }
 private void OnSaveExecuted(object param)
 {
     ScheduleViewRepository.SaveData(null);
 }