16 lines
353 B
C#
16 lines
353 B
C#
namespace BudgetApp.Domain.Interfaces;
|
|
|
|
using BudgetApp.Domain.Models;
|
|
|
|
/// <summary>
|
|
/// Repository interface for budget persistence operations.
|
|
/// </summary>
|
|
public interface IBudgetRepository
|
|
{
|
|
Task<Budget?> GetByIdAsync(Guid id);
|
|
Task<IEnumerable<Budget>> GetAllAsync();
|
|
Task SaveAsync(Budget budget);
|
|
Task DeleteAsync(Guid id);
|
|
}
|
|
|