using Duempelkas.App.Services.Models; using Duempelkas.Domain.Enums; namespace Duempelkas.App.Services; public interface IEntryService { Task> GetEntriesAsync(int accountId, int? year); Task> GetEntriesAsync(int accountId, bool currentYearOnly); Task> GetEntryYearsAsync(int accountId); Task> GetAllEntryYearsAsync(); Task CreateEntryAsync(int accountId, EntryType type, DateTime date, string title, decimal amount); Task CreateTransferAsync(int sourceAccountId, int targetAccountId, DateTime date, string title, decimal amount); Task DeleteEntryAsync(int entryId); Task RestoreEntryAsync(int entryId); Task UpdateEntryAsync(int entryId, DateTime date, string title, decimal amount); Task UpdateTransferAsync(int entryId, int newLinkedAccountId, DateTime date, string title, decimal amount); }