예제 #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();
 }