aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Configurations/Mapping
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2020-12-30 21:21:49 +0200
committertranstrike <transtrike@gmail.com>2020-12-30 21:21:49 +0200
commit278130d86378a6b2db6ba443631f303fb7d7e207 (patch)
tree72fa0ad4889a9f18cdd0a54992dc151784323c83 /src/DevHive.Web/Configurations/Mapping
parenta96478dd52250c4f5b494c66806d5e97156c48b3 (diff)
downloadDevHive-278130d86378a6b2db6ba443631f303fb7d7e207.tar
DevHive-278130d86378a6b2db6ba443631f303fb7d7e207.tar.gz
DevHive-278130d86378a6b2db6ba443631f303fb7d7e207.zip
Implemented Posts and merged Comment to Post
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