14 lines
344 B
C#
14 lines
344 B
C#
|
|
using Domain.Entities;
|
|||
|
|
|
|||
|
|
namespace Core.Interfaces
|
|||
|
|
{
|
|||
|
|
public interface IExchangeRateDom
|
|||
|
|
{
|
|||
|
|
Task<EExchangeRateHistory> GetYesterdayRateAsync();
|
|||
|
|
/// <summary>
|
|||
|
|
/// Solo lee del histórico; no dispara llamada externa.
|
|||
|
|
/// </summary>
|
|||
|
|
Task<EExchangeRateHistory?> GetByDateAsync(DateOnly date);
|
|||
|
|
}
|
|||
|
|
}
|