fix
This commit is contained in:
@@ -1,9 +1,20 @@
|
||||
namespace MyOffice.Web.Models.Currency;
|
||||
|
||||
using AutoMapper;
|
||||
using MyOffice.Services.Currency.Domain;
|
||||
|
||||
public class CurrencyRateViewModel: BaseViewModel
|
||||
{
|
||||
public string Currency { get; set; } = null!;
|
||||
public DateTime DateTime { get; set; }
|
||||
public int Quantity { get; set; }
|
||||
public decimal Rate { get; set; }
|
||||
}
|
||||
|
||||
public class CurrencyRateViewModelProfile: Profile
|
||||
{
|
||||
public CurrencyRateViewModelProfile()
|
||||
{
|
||||
CreateMap<CurrencyRateDto, CurrencyRateViewModel>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user