public MenuPageViewModel(INavigationService navigationService, ITraktUserService traktUserService) : base(navigationService) { _traktUserService = traktUserService; InitMenuItems(); MenuItemSelectedCommand = new DelegateCommand <MenuItem>(MenuItemSelected); GotoAuthCommand = new DelegateCommand(GotoAuth); }
public AuthenticationPageViewModel(INavigationService navigationService, IAuthenticator authenticator, ITraktUserService userService) : base(navigationService) { _authenticator = authenticator; _userService = userService; LogoutCommand = new DelegateCommand(Logout); LoginCommand = new DelegateCommand(Login); }