diff options
Diffstat (limited to 'ExamTemplate/Services/Configurations/UserMappings.cs')
| -rw-r--r-- | ExamTemplate/Services/Configurations/UserMappings.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ExamTemplate/Services/Configurations/UserMappings.cs b/ExamTemplate/Services/Configurations/UserMappings.cs new file mode 100644 index 0000000..13c6633 --- /dev/null +++ b/ExamTemplate/Services/Configurations/UserMappings.cs @@ -0,0 +1,14 @@ +using AutoMapper; +using ExamTemplate.Data.Models; +using ExamTemplate.Services.Models; + +namespace ExamTemplate.Services.Configurations +{ + public class UserMappings : Profile + { + public UserMappings() + { + CreateMap<RegisterUserServiceModel, User>(); + } + } +} |
