sync public allowlist from private myoffice

This commit is contained in:
myoffice-sync
2026-08-05 10:36:17 +00:00
parent 6f7fd61ee9
commit 874796c860
720 changed files with 2841 additions and 69563 deletions
@@ -1,19 +0,0 @@
namespace MyOffice.Data.Repositories.Currency;
using Models.Currencies;
public interface ICurrencyRateRepository
{
List<CurrencyRate> GetLastRates(Guid currencyId, DateTime? before = null, int count = 1);
Task<List<CurrencyRate>> GetLastRatesAsync(Guid currencyId, DateTime? before = null, int count = 1, CancellationToken cancellationToken = default);
Dictionary<string, CurrencyRate> GetLastRates(Guid userId, List<string> currencyIds, DateTime? before = null);
Task<Dictionary<string, CurrencyRate>> GetLastRatesAsync(
Guid userId,
List<string> currencyIds,
DateTime? before = null,
CancellationToken cancellationToken = default);
bool AddRate(CurrencyRate currencyRate);
Task<bool> AddRateAsync(CurrencyRate currencyRate, CancellationToken cancellationToken = default);
List<CurrencyRate> GetAtDate(Guid currencyId, DateTime date);
Task<List<CurrencyRate>> GetAtDateAsync(Guid currencyId, DateTime date, CancellationToken cancellationToken = default);
}