Refactor UpdateCheapestIntervals logic to return a result object and improve code readability. Introduce CheapestIntervalsUpdateResult model for encapsulating update details and simplify inline tuples.

This commit is contained in:
Marius
2026-03-16 12:00:23 +02:00
parent 53eb53539a
commit 42b1fe3b18
5 changed files with 44 additions and 18 deletions
@@ -119,7 +119,10 @@ public class NordPoolEntityServiceTests
{
callCount++;
if (callCount == 2)
{
throw new InvalidOperationException("Entity creation failed");
}
return Task.CompletedTask;
});