public void PrepareView(AppUser user)
 {
     Username = user.Username;
     FullName = user.FullName;
     Email = user.Email;
     MobileNo = user.MobileNo;
     SelectedRole = _userRoles.FirstOrDefault(role => role.RoleId == user.RoleId);
 }
Example #2
0
 public void PrepareView(AppUser appUser)
 {
     _appUser = appUser;
 }
Example #3
0
 private void LoginViewModel_OnLoggedIn(AppUser appUser)
 {
     OnCloseLoginViewModel();
     ShellViewModel.PrepareView(appUser);
     (ShellViewModel.View as Window).Show();
 }