private async void frmPredefinedDataMenu_Load(object sender, EventArgs e)
        {
            await LoadPredefinedDataCounts();

            lblDrzaveCounter.Text            = DrzavaCount.ToString();
            lblGradoviCounter.Text           = GradoviCount.ToString();
            lblNaucneOblastiCounter.Text     = NaucneOblastiCount.ToString();
            lblRolesCounter.Text             = RolesCount.ToString();
            lblZdravstvenaStanjaCounter.Text = ZdravstvenaStanjaCount.ToString();
        }
        private frmPredefinedDataMenu()
        {
            InitializeComponent();
            _apiService                      = new APIService(Routes.DrzaveRoute);
            lblDrzaveCounter.Text            = DrzavaCount.ToString();
            lblGradoviCounter.Text           = GradoviCount.ToString();
            lblRolesCounter.Text             = RolesCount.ToString();
            lblZdravstvenaStanjaCounter.Text = ZdravstvenaStanjaCount.ToString();
            lblNaucneOblastiCounter.Text     = NaucneOblastiCount.ToString();

            Text = Properties.Resources.frmPredefinedData;
        }
        public async Task LoadPredefinedDataCount(string route)
        {
            switch (route)
            {
            case Routes.DrzaveRoute:
                _apiService           = new APIService(Routes.DrzaveRoute);
                DrzavaCount           = (await _apiService.Count())?.Data.First() ?? 0;
                lblDrzaveCounter.Text = DrzavaCount.ToString();
                break;

            case Routes.GradoviRoute:
                _apiService.ChangeRoute(Routes.GradoviRoute);
                GradoviCount           = (await _apiService.Count())?.Data.First() ?? 0;
                lblGradoviCounter.Text = GradoviCount.ToString();
                break;

            case Routes.ZdravstvenaStanjaRoute:
                _apiService.ChangeRoute(Routes.ZdravstvenaStanjaRoute);
                ZdravstvenaStanjaCount           = (await _apiService.Count())?.Data.First() ?? 0;
                lblZdravstvenaStanjaCounter.Text = ZdravstvenaStanjaCount.ToString();
                break;

            case Routes.NaucneOblastiRoute:
                _apiService.ChangeRoute(Routes.NaucneOblastiRoute);
                NaucneOblastiCount           = (await _apiService.Count())?.Data.First() ?? 0;
                lblNaucneOblastiCounter.Text = NaucneOblastiCount.ToString();

                break;

            case Routes.RolesRoute:
                _apiService.ChangeRoute(Routes.RolesRoute);
                RolesCount           = (await _apiService.Count())?.Data.First() ?? 0;
                lblRolesCounter.Text = RolesCount.ToString();
                break;

            default:
                return;
            }
        }