Пример #1
0
 public void logout()
 {
     _currentUser = null;
 }
Пример #2
0
 public EmployeeViewModel(User user)
 {
     CurrentUser = user;
     Title = Consts.USER_TITLE_EDIT;
     _type = PanelType.Edit;
     IsBackButtonVisible = true;
     setBooleanValues();
 }
Пример #3
0
 public void login(User user)
 {
     // Validation?
     _currentUser = user;
 }
Пример #4
0
 public EmployeeViewModel()
 {
     _currentUser = new User();
     Title = Consts.USER_TITLE_NEW;
     _type = PanelType.New;
     IsBackButtonVisible = false;
     setBooleanValues();
 }