/// <summary> /// Provides a deterministic way to create the ListUsersViewModel property. /// </summary> public static void CreateListUsersViewModel() { if (_listUsersViewModel == null) { _listUsersViewModel = new ListUsersViewModel(); } }
/// <summary> /// Provides a deterministic way to delete the ListUsersViewModel property. /// </summary> public static void ClearListUsersViewModel() { _listUsersViewModel.Cleanup(); _listUsersViewModel = null; }