diff options
Diffstat (limited to 'Profiles')
-rw-r--r-- | Profiles/RaffleProfile.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Profiles/RaffleProfile.cs b/Profiles/RaffleProfile.cs new file mode 100644 index 0000000..4b872b3 --- /dev/null +++ b/Profiles/RaffleProfile.cs @@ -0,0 +1,11 @@ +using AutoMapper; +using BackendPIA.Models; +using BackendPIA.Forms; + +namespace BackendPIA.Profiles { + public class RaffleProfile : Profile { + public RaffleProfile() { + CreateMap<RaffleForm, Raffle>().ReverseMap(); + } + } +} |