14 lines
351 B
C#
14 lines
351 B
C#
using AutoMapper;
|
|
using Kurs.Platform.Entities;
|
|
using Kurs.Platform.Questions;
|
|
|
|
namespace Kurs.Platform.DataSources;
|
|
|
|
public class QuestionAutoMapperProfile : Profile
|
|
{
|
|
public QuestionAutoMapperProfile()
|
|
{
|
|
CreateMap<Question, QuestionDto>().ReverseMap();
|
|
CreateMap<QuestionOption, QuestionOptionDto>().ReverseMap();
|
|
}
|
|
}
|