1 |
b9c5b7dd
|
Vojtěch Bartička
|
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 |
37259a80
|
Vojtěch Bartička
|
CreateMap<AnnotationTag, TagInstanceInfo>();
|
20 |
b9c5b7dd
|
Vojtěch Bartička
|
}
|
21 |
|
|
}
|
22 |
|
|
}
|