namespace MyOffice.Data.Repositories.Currency;

using Models.Currencies;

public interface ICurrencyRateRepository
{
	List<CurrencyRate> GetLastRates(Guid currencyId, int count = 1);
	bool AddRate(CurrencyRate currencyRate);
	List<CurrencyRate> GetAtDate(Guid currencyId, DateTime date);
}