public SettingsViewModel(INavigationService navigationService, IAuthorizationService authorizationService, IProfileService profileService, IThemService themService, ILocalizationService localizationService) : base(navigationService) { _authorizationService = authorizationService; _profileService = profileService; _themService = themService; _localizationService = localizationService; SaveCommand = new Command(SaveAllSettings); CancelCommand = new Command(CancelSettings); DisplaySavedPageSettings(); }
public MainListViewModel(INavigationService navigationService, IDialogService diulogService, IProfileService profileService, IAuthorizationService authorizationService, IThemService themService, ILocalizationService localizationService) : base(navigationService) { _authorizationService = authorizationService; _profileService = profileService; _dialogService = diulogService; _themService = themService; _localizationService = localizationService; NavigationToSettingsView = new Command(ExecuteGoToSettingsPage); NavigationToAddProfileUser = new Command(ExecuteGoToAddProfileUser); RemoveCommand = new Command(RemoveModel); UpdateCommand = new Command(UpdateModel); NavigationToSingIn = new Command(ExecuteGoBack); ProfileViewModelList = new ObservableCollection <ProfileViewModel>(); }
public ThemsController(UserManager <GoUser> userManager, IThemService themService) { this.userManager = userManager; this.themService = themService; }