aswi20220x00-gitlab/Backend/Core/MapperProfiles/TagProfileEF.cs @ abf94f21
1 |
using AutoMapper; |
---|---|
2 |
using Core.Entities; |
3 |
using Models.Tags; |
4 |
using System; |
5 |
using System.Collections.Generic; |
6 |
using System.Linq; |
7 |
using System.Text; |
8 |
using System.Threading.Tasks; |
9 |
|
10 |
namespace Core.MapperProfiles |
11 |
{
|
12 |
public class TagProfileEF : Profile |
13 |
{
|
14 |
public TagProfileEF() |
15 |
{
|
16 |
CreateMap<TagCategory, TagCategoryInfo>(); |
17 |
CreateMap<Tag, TagInfo>(); |
18 |
CreateMap<SubTag, SubTagInfo>(); |
19 |
CreateMap<AnnotationTag, TagInstanceInfo>(); |
20 |
}
|
21 |
}
|
22 |
}
|