first commit

This commit is contained in:
Dhananjaya99
2026-09-28 11:44:26 +05:30
parent 721743ae6b
commit bffc9b1686
424 changed files with 46474 additions and 0 deletions
+24
View File
@@ -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);
}
}