summaryrefslogtreecommitdiff
path: root/Profiles
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2022-11-24 16:50:03 -0600
committerHombreLaser <sebastian-440@live.com>2022-11-24 16:50:03 -0600
commit1a504435120bf50f7a51ff1351abe8b7e398d6a2 (patch)
tree2b93e6911ede5456dea840208d8f6f12a125c197 /Profiles
parentbc6c7c8a8071eb5c5f8877247dde5dfab9f5e4f8 (diff)
Añadido DTO POST para Prize
Diffstat (limited to 'Profiles')
-rw-r--r--Profiles/PrizeProfile.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Profiles/PrizeProfile.cs b/Profiles/PrizeProfile.cs
new file mode 100644
index 0000000..46545ef
--- /dev/null
+++ b/Profiles/PrizeProfile.cs
@@ -0,0 +1,12 @@
+using AutoMapper;
+
+using BackendPIA.Models;
+using BackendPIA.Forms;
+
+namespace BackendPIA.Profiles {
+ public class PrizeProfile : Profile {
+ public PrizeProfile() {
+ CreateMap<PrizeForm, Prize>();
+ }
+ }
+} \ No newline at end of file