10 lines
292 B
C#
10 lines
292 B
C#
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);
|
|
} |