fix
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
namespace MyOffice.Services.Account.Domain;
|
||||
/// <see cref="MyOffice.Data.Models.Users.User"/>
|
||||
namespace MyOffice.Services.Account.Domain;
|
||||
|
||||
using AutoMapper;
|
||||
using MyOffice.Data.Models.Users;
|
||||
using MyOffice.Services.Currency.Domain;
|
||||
|
||||
public class UserDto
|
||||
@@ -15,3 +18,11 @@ public class UserDto
|
||||
public string CurrencyId { get; set; } = null!;
|
||||
public CurrencyGlobalDto? Currency { get; set; }
|
||||
}
|
||||
|
||||
public class UserDtoProfile : Profile
|
||||
{
|
||||
public UserDtoProfile()
|
||||
{
|
||||
CreateMap<User, UserDto>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user