aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Configurations
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Services/Configurations')
-rw-r--r--src/DevHive.Services/Configurations/Mapping/RoleMapings.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/DevHive.Services/Configurations/Mapping/RoleMapings.cs b/src/DevHive.Services/Configurations/Mapping/RoleMapings.cs
new file mode 100644
index 0000000..0e06523
--- /dev/null
+++ b/src/DevHive.Services/Configurations/Mapping/RoleMapings.cs
@@ -0,0 +1,14 @@
+using DevHive.Data.Models;
+using AutoMapper;
+using DevHive.Services.Models.Identity.Role;
+
+namespace DevHive.Services.Configurations.Mapping
+{
+ public class RoleMappings : Profile
+ {
+ public RoleMappings()
+ {
+ CreateMap<RoleServiceModel, Role>();
+ }
+ }
+}