示例#1
0
 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;
 }
示例#3
0
 public SimulatorService()
 {
     CRMService = new Simulator.CRMService.CRMServiceClient();
 }
 public UIService()
 {
     CRMService = new UI.CRMService.CRMServiceClient();
 }