Website Summary Files Commits Branches @commit @diff @stats
path: root / ExamTemplate / Web / Configurations
diff options
context:
space:
mode:
Commitef14a1e9b7ecbcf23fdf3e47a260b81772fc3816 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-05-13 15:41:39 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-05-13 15:41:39 +0300
Filesbcf2ed498853e3bbdd4659dc6fd47c2c7546906e /ExamTemplate/Web/Configurations
it-kariera-exam-template-ef14a1e9b7ecbcf23fdf3e47a260b81772fc3816.tar
it-kariera-exam-template-ef14a1e9b7ecbcf23fdf3e47a260b81772fc3816.tar.gz
it-kariera-exam-template-ef14a1e9b7ecbcf23fdf3e47a260b81772fc3816.zip
Parent2a07c006a1f7ea9a7493af4f114300a829f4dc6f (diff)
Updated user controller models being of type UserViewModel, when they should be like UserWebModel
1 files changed, 5 insertions, 5 deletions
-rw-r--r--ExamTemplate/Web/Configurations/ControllerUserMappings.cs10
diff --git a/ExamTemplate/Web/Configurations/ControllerUserMappings.cs b/ExamTemplate/Web/Configurations/ControllerUserMappings.cs
index 9b798e6..05c57e2 100644
--- a/ExamTemplate/Web/Configurations/ControllerUserMappings.cs
+++ b/ExamTemplate/Web/Configurations/ControllerUserMappings.cs
@@ -8,11 +8,11 @@ namespace ExamTemplate.Services.Configurations
{
public ControllerUserMappings()
{
- CreateMap<RegisterUserViewModel, RegisterUserServiceModel>();
- CreateMap<LoginUserViewModel, LoginUserServiceModel>();
- CreateMap<UserServiceModel, UserViewModel>();
- CreateMap<UserServiceModel, EditUserViewModel>();
- CreateMap<EditUserViewModel, UserServiceModel>();
+ CreateMap<RegisterUserWebModel, RegisterUserServiceModel>();
+ CreateMap<LoginUserWebModel, LoginUserServiceModel>();
+ CreateMap<UserServiceModel, UserWebModel>();
+ CreateMap<UserServiceModel, EditUserWebModel>();
+ CreateMap<EditUserWebModel, UserServiceModel>();
}
}
}