first commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using Fitness_core_BE.DTOs.Ledger;
|
||||
using Fitness_core_BE.Models;
|
||||
|
||||
namespace Fitness_core_BE.Interfaces
|
||||
{
|
||||
public interface IProfitLossRepository
|
||||
{
|
||||
Task<List<LedgerEntryDto>> GetDerivedEntriesAsync(
|
||||
Guid clientId,
|
||||
DateTime fromUtc,
|
||||
DateTime toUtc,
|
||||
CancellationToken ct = default);
|
||||
|
||||
Task<List<LedgerEntry>> GetManualEntriesAsync(
|
||||
Guid clientId,
|
||||
DateTime fromUtc,
|
||||
DateTime toUtc,
|
||||
CancellationToken ct = default);
|
||||
|
||||
Task<LedgerEntry?> GetManualEntryByIdAsync(Guid id, CancellationToken ct = default);
|
||||
Task AddManualEntryAsync(LedgerEntry entry, CancellationToken ct = default);
|
||||
void RemoveManualEntry(LedgerEntry entry);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user