private void _vista_UsuarioDeseaObtenerClientesSinGps(object sender, EventArgs e) { try { _vista.ClientesSinPuntoGps = ClienteServicio.ObtenerClientesSinPuntoGps(); } catch (Exception exception) { _vista.EstablecerError(exception.Message, sender); } }
private void _vista_VistaCargandosePorPrimeraVez(object sender, EventArgs e) { try { _vista.ParametroDePuntoGpsPorDefecto = ParametroServicio.ObtenerParametro(new Parametro { GROUP_ID = "CUSTOMER", PARAMETER_ID = "DEFAULT_GPS_POINT" }); _vista.ClientesSinPuntoGps = ClienteServicio.ObtenerClientesSinPuntoGps(); } catch (Exception exception) { _vista.EstablecerError(exception.Message, sender); } }