public LogInViewModel() { LogInCommand = new DelegateCommand(OnLogInCommand, CanExecuteCommand); CancelCommand = new DelegateCommand(OnCancelCommand); AddUserCommand = new DelegateCommand(OnAddUserCommand, CanExecuteCommand); User = new UserModel(null, null, null); ListeUsers = UserFactory.AllUserEntitiesToUserModel(UserDAO.GetAllUser()); _isLogged = false; }