private async void programacionserviciosclienteBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            ValidateChildren();
            try
            {
                if (ProgramacionServicioClienteActual.ProgramacionServiciosClienteId > 0)
                {
                    await ProgramacionServiciosClienteRepositorio.ActualizarAsync(ProgramacionServicioClienteActual);
                }
                else
                {
                    await ProgramacionServiciosClienteRepositorio.CrearAsync(ProgramacionServicioClienteActual);
                }

                vsprogramacionserviciosclienteBindingSource.DataSource = vistaProgramacionServiciosCliente.RecuperarPorClienteId(ProgramacionServicioClienteActual.ClienteId);
                vsprogramacionserviciosclienteBindingSource.ResetBindings(false);

                ModoEditar = false;
            }catch (DbEntityValidationException excepcionValidacion)
            {
                FormExceptionManager.HandleException(excepcionValidacion, Exceptions.ExceptionHandlingPolicies.CrearActualizarEntidadesDesdeUI);
            }
            catch (Exception excepcion)
            {
                FormExceptionManager.HandleException(excepcion, Exceptions.ExceptionHandlingPolicies.CrearActualizarEntidadesDesdeUI);
            }
        }
        private async void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
        {
            //await FormExceptionManager.Process(async () =>
            //{
            try
            {
                await ProgramacionServiciosClienteRepositorio.EliminarAsync(ProgramacionServicioClienteActual);

                programacionserviciosclienteBindingSource.RemoveCurrent();
                ModoEditar = false;

                vsprogramacionserviciosclienteBindingSource.DataSource = vistaProgramacionServiciosCliente.RecuperarPorClienteId(ClienteId);
                vsprogramacionserviciosclienteBindingSource.ResetBindings(false);
            }catch (Exception exc)
            {
                FormExceptionManager.HandleException(exc, Exceptions.ExceptionHandlingPolicies.CrearActualizarEntidadesDesdeUI);
            }
            //}, Exceptions.ExceptionHandlingPolicies.CrearActualizarEntidadesDesdeUI);
        }