From 7e82f688adc1fbfa76231db33b1e4445d09b69a4 Mon Sep 17 00:00:00 2001 From: TekH Date: Fri, 1 Aug 2025 13:47:50 +0200 Subject: [PATCH] Remove ToList() method from PObjectState class The `ToList()` method in the `PObjectState` 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/PObjectState.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/WorkFlow.Domain/Entities/PObjectState.cs b/src/WorkFlow.Domain/Entities/PObjectState.cs index a9b7f3a..82a50f6 100644 --- a/src/WorkFlow.Domain/Entities/PObjectState.cs +++ b/src/WorkFlow.Domain/Entities/PObjectState.cs @@ -83,9 +83,4 @@ public class PObjectState 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