create CreateUserCommand with handler and mapping profile
This commit is contained in:
19
EnvelopeGenerator.Application/Users/MappingProfile.cs
Normal file
19
EnvelopeGenerator.Application/Users/MappingProfile.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using AutoMapper;
|
||||
using DigitalData.UserManager.Domain.Entities;
|
||||
using EnvelopeGenerator.Application.Users.Commands;
|
||||
|
||||
namespace EnvelopeGenerator.Application.Users;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class MappingProfile : Profile
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public MappingProfile()
|
||||
{
|
||||
CreateMap<CreateUserCommand, User>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user