diff --git a/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Commands/SetTimeProject/SetTimeProjectCommandHandler.cs b/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Commands/SetTimeProject/SetTimeProjectCommandHandler.cs index 49f43a88..781b7719 100644 --- a/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Commands/SetTimeProject/SetTimeProjectCommandHandler.cs +++ b/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Commands/SetTimeProject/SetTimeProjectCommandHandler.cs @@ -375,7 +375,6 @@ public class SetTimeProjectCommandHandler : IBaseCommandHandler x.Id != existingAdditionalTime.Id) - .Aggregate(TimeSpan.Zero, (acc, x) => acc.Add(x.Hours)) - .Add(additionalTimeSpan)); - - ValidateTotalTimeNotLessThanSpent(newTotalTime, currentTotalSpent); - // ویرایش بدون حذف و ایجاد دوباره existingAdditionalTime.Update(additionalTimeSpan, additionalTime.Description); hasRealChange = true; @@ -424,15 +415,17 @@ public class SetTimeProjectCommandHandler : IBaseCommandHandler