Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Web / Configurations / Mapping
diff options
context:
space:
mode:
Commitb41f887712ef8f2f0b602da3042261a78c5f492a (patch)
Author
 transtrike <transtrike@gmail.com>
2021-02-01 16:03:38 +0200
Committer
 transtrike <transtrike@gmail.com>
2021-02-01 16:03:38 +0200
Filesfb6437ea34896da7c7db3a292bbdb8ee7d14e889 /src/DevHive.Web/Configurations/Mapping
DevHive-b41f887712ef8f2f0b602da3042261a78c5f492a.tar
DevHive-b41f887712ef8f2f0b602da3042261a78c5f492a.tar.gz
DevHive-b41f887712ef8f2f0b602da3042261a78c5f492a.zip
Parentaa342542789b22f24ce3ecbfcb7888d4ff12d30c (diff)
Commented out implementation of Rating; Bug fixes
1 files changed, 16 insertions, 0 deletions
-rw-r--r--src/DevHive.Web/Configurations/Mapping/RatingMappings.cs16
diff --git a/src/DevHive.Web/Configurations/Mapping/RatingMappings.cs b/src/DevHive.Web/Configurations/Mapping/RatingMappings.cs
new file mode 100644
index 0000000..4e071de
--- /dev/null
+++ b/src/DevHive.Web/Configurations/Mapping/RatingMappings.cs
@@ -0,0 +1,16 @@
+using AutoMapper;
+using DevHive.Services.Models.Post.Rating;
+using DevHive.Web.Models.Post.Rating;
+
+namespace DevHive.Web.Configurations.Mapping
+{
+ public class RatingMappings : Profile
+ {
+ public RatingMappings()
+ {
+ CreateMap<RatePostWebModel, RatePostServiceModel>();
+
+ CreateMap<ReadPostRatingServiceModel, ReadPostRatingWebModel>();
+ }
+ }
+}