public void logout() { _currentUser = null; }
public EmployeeViewModel(User user) { CurrentUser = user; Title = Consts.USER_TITLE_EDIT; _type = PanelType.Edit; IsBackButtonVisible = true; setBooleanValues(); }
public void login(User user) { // Validation? _currentUser = user; }
public EmployeeViewModel() { _currentUser = new User(); Title = Consts.USER_TITLE_NEW; _type = PanelType.New; IsBackButtonVisible = false; setBooleanValues(); }