public ClientInfoModel(INavigationService navigationService) { Client = new Client(); _navigationService = navigationService; CommandInvoke(); CRMService = new UI.CRMService.CRMServiceClient(); ClientTypes = new ObservableCollection <ClientType>(CRMService.GetClientTypesAsync().Result); }
public LineInfoModel(INavigationService navigationService) { Line = new Line(); PackageInclude = new PackageInclude(); PackageInclude.FavoriteNumbers = new SelectedNumbers(); _navigationService = navigationService; UIService = new UIService(); CRMService = new UI.CRMService.CRMServiceClient(); NavigateCommand = new RelayCommand(NavigateCommandAction); ComboBoxesInitMethod(); CommandInvoke(); IsThreeFriends = Visibility.Collapsed; IsFavoriteNumber = Visibility.Collapsed; }
public SimulatorService() { CRMService = new Simulator.CRMService.CRMServiceClient(); }
public UIService() { CRMService = new UI.CRMService.CRMServiceClient(); }