aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Configurations/Mapping
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Web/Configurations/Mapping')
-rw-r--r--src/DevHive.Web/Configurations/Mapping/CommentMappings.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/DevHive.Web/Configurations/Mapping/CommentMappings.cs b/src/DevHive.Web/Configurations/Mapping/CommentMappings.cs
index dd11420..394490e 100644
--- a/src/DevHive.Web/Configurations/Mapping/CommentMappings.cs
+++ b/src/DevHive.Web/Configurations/Mapping/CommentMappings.cs
@@ -1,10 +1,10 @@
using AutoMapper;
-using DevHive.Web.Models.Comment;
-using DevHive.Services.Models.Comment;
+using DevHive.Services.Models.Post.Comment;
+using DevHive.Web.Models.Post.Comment;
namespace DevHive.Web.Configurations.Mapping
{
- public class CommentMappings : Profile
+ public class CommentMappings : Profile
{
public CommentMappings()
{
@@ -12,7 +12,6 @@ namespace DevHive.Web.Configurations.Mapping
CreateMap<CommentWebModel, UpdateCommentServiceModel>();
CreateMap<CommentServiceModel, CommentWebModel>();
CreateMap<CommentWebModel, CommentServiceModel>();
- CreateMap<GetByIdCommentServiceModel, GetByIdCommentWebModel>();
}
}
} \ No newline at end of file