fix
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
namespace MyOffice.Services.Currency.Domain;
|
||||
/// <see cref="MyOffice.Data.Models.Currencies.Currency"/>
|
||||
namespace MyOffice.Services.Currency.Domain;
|
||||
|
||||
using AutoMapper;
|
||||
using MyOffice.Data.Models.Currencies;
|
||||
using MyOffice.Data.Models.Users;
|
||||
using MyOffice.Services.Account.Domain;
|
||||
|
||||
public class CurrencyDto
|
||||
@@ -21,3 +22,11 @@ public class CurrencyDto
|
||||
|
||||
public bool IsPrimary { get; set; }
|
||||
}
|
||||
|
||||
public class CurrencyDtoProfile: Profile
|
||||
{
|
||||
public CurrencyDtoProfile()
|
||||
{
|
||||
CreateMap<Currency, CurrencyDto>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user