private void AgregarButton_Click(object sender, RoutedEventArgs e)
        {
            if (!válidar())
            {
                return;
            }

            var detalle = new EventosDetalle {
                ClienteId        = int.Parse(ClienteIdTextBox.Text),
                Descripcion      = DescripcionTextBox.Text,
                Lugar            = LugarTextBox.Text,
                FotografoId      = int.Parse(FotografoComboBox.SelectedValue.ToString()),
                Fecha            = (DateTime)IniciaDatePicker.SelectedDate,
                FechaVencimiento = (DateTime)VenceDatePicker.SelectedDate,
                Precio           = double.Parse(PrecioTextBox.Text)
            };

            Evento.EventosDetalles.Add(detalle);
            Evento.Total += double.Parse(PrecioTextBox.Text);

            Cargar();
            DescripcionTextBox.Clear();
            LugarTextBox.Clear();
            IniciaDatePicker.SelectedDate = null;
            VenceDatePicker.SelectedDate  = null;
            PrecioTextBox.Clear();
            DescripcionTextBox.Focus();
        }
        public DetalleShowViewModel(EventosDetalle ds)
        {
            this.apiService = new ApiService();

            this.ds = ds;
        }