private async void cb_outlet_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            progress_bar.Visibility  = Visibility.Visible;
            progress_bar2.Visibility = Visibility.Visible;

            int outlet_id = 0;

            int index = cb_outlet.SelectedIndex;

            string outlet_name = cb_outlet.Items[index].ToString();

            foreach (Outlet_DTO temp in list)
            {
                if (temp.outlet_name == outlet_name)
                {
                    outlet_id = temp.outlet_id;
                    break;
                }
            }

            List <Service_DTO> listservice = await RestAPI.GetServiceOutlet(outlet_id.ToString());

            listservice_active = listservice;

            list_serviceactive.ItemsSource = listservice;
            progress_bar.Visibility        = Visibility.Collapsed;
            LoadListNotActive();
        }
        private async void Start_State(int index)
        {
            Outlet_DTO outlet = list[index];

            listservice_active = await RestAPI.GetServiceOutlet(outlet.outlet_id.ToString());

            list_serviceactive.ItemsSource = listservice_active;

            progress_bar.Visibility = Visibility.Collapsed;

            LoadListNotActive();
        }