public Sim.productMap GetProducts(int simulationFactoryId) { try { return(simulationService.getProducts(simulationFactoryId)); } catch (EndpointNotFoundException) { ClientServerEvent(this, new ClientServerEventArgs()); } catch (FaultException) { ClientServerEvent(this, new ClientServerEventArgs("Fehler auf Server")); } return(null); }
public Sim.productMap getProducts() { return(simulationService.getProducts(sessionID)); }