public SalaryPageViewModel() { _deService = new DbService(); _httpService = new Services.HttpBaseService(); QueryCommand = new DelegateCommand(Query); Salaries = new ObservableCollection <Models.SalaryModel>(); }
public EduSchedulePageViewModel(INavigationService navigationService) { _navigationService = navigationService; _dbService = new Services.DbService(); RefreshCommand = new DelegateCommand(Refresh); ItemClickedCommand = new DelegateCommand <object>(ItemClicked); InitEduTimeList(); Schedule = new Models.ScheduleModel(); }
public EduGradePageViewModel(INavigationService navigationService) { GradePageVM = this; _navigationService = navigationService; _dbService = new Services.DbService(); _coreService = new Services.EduService(); ItemClickCommand = new DelegateCommand <object>(ItemClick); RefreshCommand = new DelegateCommand(Refresh); ToGradeInfoCommand = new DelegateCommand(ToGradeInfo); }
public CampusCardPageViewModel(INavigationService navigationService) { _navigationService = navigationService; _httpService = new HttpBaseService(); //_dbService = new Services.DbService(); _dbService = new DbService(); _campusCardSercvice = new CampusCardService(); LoadedCommand = new DelegateCommand(Loaded); ItemClickedCommand = new DelegateCommand <object>(ItemClicked); LostCommand = new DelegateCommand(LostCampusCard); FoundCommand = new DelegateCommand(FoundCampusCard); }
public MyBjutPageViewModel(INavigationService navigationService) { _navigationService = navigationService; _httpService = new HttpBaseService(); _dbService = new DbService(); ItemClickCommand = new DelegateCommand <object>(HeaderItemClicked); SalaryCommand = new DelegateCommand(Salary); LoadedCommand = new DelegateCommand(Loaded); ScheduleCommand = new DelegateCommand(Schedule); BookingGradeCommand = new DelegateCommand(BookingGrade); HeaderList = new List <NewsHeaderModel>(); }
public EduExamPageViewModel() { //_dbService = new Services.DbService(); _dbService = new DbService(); _coreService = new Services.EduService(); }