From 7d07fc58e9f1b384670a2c3e9f205a41b1612760 Mon Sep 17 00:00:00 2001 From: TekH Date: Fri, 1 Aug 2025 13:48:27 +0200 Subject: [PATCH] Remove ToList() method from PObjectStateHist class The `ToList()` method in the `PObjectStateHist` class has been removed. This method previously returned a list of strings, including the `IntlState` property of `State1` and other state properties (`State2`, `State3`, `State4`). Its removal indicates that this functionality is no longer needed or has been refactored. --- src/WorkFlow.Domain/Entities/PObjectStateHist.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/WorkFlow.Domain/Entities/PObjectStateHist.cs b/src/WorkFlow.Domain/Entities/PObjectStateHist.cs index 86b70d2..40cc569 100644 --- a/src/WorkFlow.Domain/Entities/PObjectStateHist.cs +++ b/src/WorkFlow.Domain/Entities/PObjectStateHist.cs @@ -64,9 +64,4 @@ public class PObjectStateHist public virtual State? State1 { get; set; } public virtual IEnumerable? TFControls { get; set; } - - public IEnumerable ToList() => new List - { - State1?.IntlState, State2, State3, State4 - }; } \ No newline at end of file