From 9842ec605bf19430fb3d2b4c81357e03a1a36165 Mon Sep 17 00:00:00 2001 From: Mathias Date: Tue, 21 May 2024 18:32:12 +0200 Subject: [PATCH] typo --- src/ProfHeat.Core/Repositories/ResultDataManager.cs | 2 +- src/ProfHeat.Core/Repositories/SourceDataManager.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ProfHeat.Core/Repositories/ResultDataManager.cs b/src/ProfHeat.Core/Repositories/ResultDataManager.cs index 4d34f37..43a29e3 100644 --- a/src/ProfHeat.Core/Repositories/ResultDataManager.cs +++ b/src/ProfHeat.Core/Repositories/ResultDataManager.cs @@ -19,7 +19,7 @@ namespace ProfHeat.Core.Repositories; public class ResultDataManager(IRepository repository) : IResultDataManager { - public List LoadResultData(string filePath) => [.. repository.Load>(filePath)]; + public List LoadResultData(string filePath) => repository.Load>(filePath); public void SaveResultData(List data, string filePath) => repository.Save(data, filePath); } diff --git a/src/ProfHeat.Core/Repositories/SourceDataManager.cs b/src/ProfHeat.Core/Repositories/SourceDataManager.cs index 11fabaf..73c5898 100644 --- a/src/ProfHeat.Core/Repositories/SourceDataManager.cs +++ b/src/ProfHeat.Core/Repositories/SourceDataManager.cs @@ -19,7 +19,7 @@ namespace ProfHeat.Core.Repositories; public class SourceDataManager(IRepository repository) : ISourceDataManager { - public List LoadSourceData(string filePath) => [.. repository.Load>(filePath)]; + public List LoadSourceData(string filePath) => repository.Load>(filePath); public void SaveSourceData(List data, string filePath) => repository.Save(data, filePath);