/// namespace MyOffice.Services.Currency.Domain; using AutoMapper; using MyOffice.Data.Models.Currencies; public class CurrencyRateDto { public int Id { get; set; } public Guid CurrencyId { get; set; } public CurrencyDto? Currency { get; set; } public DateTime DateTime { get; set; } public int Quantity { get; set; } public decimal Rate { get; set; } public List? Currencies { get; set; } } public class CurrencyRateDtoProfile : Profile { public CurrencyRateDtoProfile() { CreateMap(); } }