/// <summary> /// Provides a deterministic way to create the AuditLogViewModel property. /// </summary> public static void CreateAuditLogViewModel() { if (_AuditLogViewModel == null) { _AuditLogViewModel = new AuditLogViewModel(); } }
/// <summary> /// Provides a deterministic way to delete the AuditLogViewModel property. /// </summary> public static void ClearAuditLogViewModel() { _AuditLogViewModel.Cleanup(); _AuditLogViewModel = null; }