Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
RespectMathias committed May 21, 2024
1 parent 5d307a1 commit 9842ec6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ProfHeat.Core/Repositories/ResultDataManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace ProfHeat.Core.Repositories;

public class ResultDataManager(IRepository repository) : IResultDataManager
{
public List<OptimizationResult> LoadResultData(string filePath) => [.. repository.Load<List<OptimizationResult>>(filePath)];
public List<OptimizationResult> LoadResultData(string filePath) => repository.Load<List<OptimizationResult>>(filePath);

public void SaveResultData(List<OptimizationResult> data, string filePath) => repository.Save(data, filePath);
}
2 changes: 1 addition & 1 deletion src/ProfHeat.Core/Repositories/SourceDataManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace ProfHeat.Core.Repositories;

public class SourceDataManager(IRepository repository) : ISourceDataManager
{
public List<MarketCondition> LoadSourceData(string filePath) => [.. repository.Load<List<MarketCondition>>(filePath)];
public List<MarketCondition> LoadSourceData(string filePath) => repository.Load<List<MarketCondition>>(filePath);

public void SaveSourceData(List<MarketCondition> data, string filePath) => repository.Save(data, filePath);

Expand Down

0 comments on commit 9842ec6

Please sign in to comment.