blob: 7f5a39bd8d8145889ec47d0baea0608823f72d93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
using AutoMapper;
using BackendPIA.Models;
using BackendPIA.Forms;
namespace BackendPIA.Profiles {
public class RaffleProfile : Profile {
public RaffleProfile() {
CreateMap<RaffleForm, Raffle>().ReverseMap();
CreateMap<Raffle, RaffleDTO>();
}
}
}
|