public CalendarEventsViewModel()
        {
            var service = new CalendarEventsService();

            _calendarEvents = service.GetCalendarApiWeek();
            Global.SetCalendarListWeek(_calendarEvents);
        }
        private void ShowEventsThisYear()
        {
            var service = new CalendarEventsService();

            if (Global.GetCalendarYearNum() == 1)
            {
                var resourcesList = service.GetCalendarApiYear();
                Global.SetCalendarListYear(resourcesList);
                EventsListViewYear.ItemsSource = resourcesList;
            }
            TabButtonManager.DeselectTab(WeekTab);
            TabButtonManager.DeselectTab(MonthTab);
            TabButtonManager.SelectTab(YearTab);
            WeekTab.Icon  = "week_new_white_bg";
            MonthTab.Icon = "month_new_white_bg";
            YearTab.Icon  = "year_new_green_bg";
            StopBusyIndicator();
            EventsListViewWeek.IsVisible  = false;
            EventsListViewYear.IsVisible  = true;
            EventsListViewMonth.IsVisible = false;
        }