private void ColorComboBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (ColorComboBox.SelectedIndex == -1)
     {
         LoadAd();
     }
     else
     {
         try
         {
             DgwIlan.DataSource =
                 _adService.GetAdByCarsId(
                     _carsService.GetCarsByColor(Convert.ToInt32(ColorComboBox.SelectedValue)));
         }
         catch (Exception ex)
         {
             Console.WriteLine(ex);
             throw;
         }
     }
 }