11 lines
429 B
C#
11 lines
429 B
C#
namespace MyOffice.Data.Repositories.Currency;
|
|
|
|
using Models.Currencies;
|
|
|
|
public interface ICurrencyRateRepository
|
|
{
|
|
List<CurrencyRate> GetLastRates(Guid currencyId, DateTime? before = null, int count = 1);
|
|
Dictionary<string, CurrencyRate> GetLastRates(Guid userId, List<string> currencyIds, DateTime? before = null);
|
|
bool AddRate(CurrencyRate currencyRate);
|
|
List<CurrencyRate> GetAtDate(Guid currencyId, DateTime date);
|
|
} |