public EmployeesViewModel(INavigationService navigationService, IContosoServices contosoServices, SyncHelper syncHelper) { this.navigationService = navigationService; this.contosoServices = contosoServices; this.syncHelper = syncHelper; this.Employees = new ObservableCollection <EmployeeModel>(); this.Steps = new ObservableCollection <string>(); this.SyncDirections = new ObservableCollection <SyncDirection> { SyncDirection.Bidirectional, SyncDirection.DownloadOnly, SyncDirection.UploadOnly }; this.SyncDirection = SyncDirection.Bidirectional; }
public EmployeeViewModel(INavigationService navigationService, IContosoServices contosoServices) { this.navigationService = navigationService; this.contosoServices = contosoServices; }