private async void CargarTeatros()
        {
            try
            {
                using (IServiceTeatro servicio = Contenedor.current.Resolve <IServiceTeatro>())
                {
                    listaTeatro = await servicio.ListarTeatrosAsync();

                    cboTeatro.DataSource    = listaTeatro;
                    cboTeatro.DisplayMember = "Nombre";
                }
                CargarObras();
            }
            catch (Exception ex)
            {
                MessageBox.Show("Ocurrió un error " + ex.Message, "Aviso", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
 private async void CargarTeatros()
 {
     using (IServiceTeatro servicio = Contenedor.current.Resolve <IServiceTeatro>())
     {
         Animacion.ShowLoader(this);
         try
         {
             listaTeatro = await servicio.ListarTeatrosAsync();
         }
         catch (Exception ex)
         {
             MessageBox.Show("Ocurrió un error: " + ex.Message, "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error);
         }
         Animacion.HideLoader(this);
         metroComboBox1.DataSource    = listaTeatro;
         metroComboBox1.DisplayMember = "Nombre";
     }
     CargarObras();
 }