Revize a35cb648
Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)
Backend/Core/MapperProfiles/RegisterMappings.cs | ||
---|---|---|
11 | 11 |
{ |
12 | 12 |
public class RegisterMappings |
13 | 13 |
{ |
14 |
/// <summary> |
|
15 |
/// Registers mappings for AutoMapper in DI |
|
16 |
/// </summary> |
|
17 |
/// <param name="builder"></param> |
|
14 | 18 |
public static void Register(WebApplicationBuilder builder) |
15 | 19 |
{ |
16 |
builder.Services.AddAutoMapper(typeof(UserProfileEF), typeof(DocumentProfileEF)); |
|
20 |
builder.Services.AddAutoMapper(typeof(UserProfileEF), typeof(DocumentProfileEF), typeof(TagProfileEF));
|
|
17 | 21 |
} |
18 | 22 |
} |
19 | 23 |
} |
Také k dispozici: Unified diff
Added comments to backend