public void RequestParamsFromCore() { Console.WriteLine("Requesting data frome core..."); _customers = new List <Customer>(_coreServiceClient.GetCustomers()); Console.WriteLine(@"Recived {0} costumers.", _customers.Count); _stations = new List <Station>(_coreServiceClient.GetStations()); Console.WriteLine(@"Recived {0} stations.", _stations.Count); _sizes = new List <PackageSize>(_coreServiceClient.GetSizes()); Console.WriteLine(@"Recived {0} package sizes.", _sizes.Count); NumberOfPackageSizes = _sizes.Count; NumberOfCustomers = _customers.Count; NumberOfStations = _stations.Count; }