public AccountViewModel(INavigationService navigationService, IVidMeClient vidMeClient, AvatarViewModel avatar) { Avatar = avatar; _navigationService = navigationService; _vidMeClient = vidMeClient; if (!IsInDesignMode) { AuthenticationService.Current.UserSignedIn += UserStateChanged; AuthenticationService.Current.UserSignedOut += UserStateChanged; Reset(); } }
public EditProfileViewModel(IVidMeClient vidMeClient, AvatarViewModel avatarViewModel, IToastService toastService) { Avatar = avatarViewModel; _vidMeClient = vidMeClient; _toastService = toastService; }