budget/BudgetApp/Domain/Interfaces/IBudgetRepository.cs
2026-01-03 10:29:03 -06:00

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);
}