15 lines
363 B
C#
15 lines
363 B
C#
namespace BudgetApp.Domain.Interfaces;
|
|
|
|
using BudgetApp.Domain.Models;
|
|
|
|
/// <summary>
|
|
/// Repository interface for configuration persistence operations.
|
|
/// </summary>
|
|
public interface IConfigurationRepository
|
|
{
|
|
Task<Configuration?> GetByIdAsync(Guid id);
|
|
Task<Configuration> GetOrCreateDefaultAsync();
|
|
Task SaveAsync(Configuration configuration);
|
|
}
|
|
|