public LayoutUserViewModel(User user, string roleName, Action<LayoutUserViewModel> isActiveChanged) { _isActiveChanged = isActiveChanged; User = user; RoleName = roleName; Update(); }
public UserViewModel(User user) { User = user; }