1 |
f2249f10
|
Vojtěch Bartička
|
using Microsoft.AspNetCore.Builder;
|
2 |
|
|
using System;
|
3 |
|
|
using System.Collections.Generic;
|
4 |
|
|
using System.Linq;
|
5 |
|
|
using System.Text;
|
6 |
|
|
using System.Threading.Tasks;
|
7 |
|
|
using AutoMapper;
|
8 |
|
|
using Microsoft.Extensions.DependencyInjection;
|
9 |
|
|
|
10 |
|
|
namespace Core.MapperProfiles
|
11 |
|
|
{
|
12 |
|
|
public class RegisterMappings
|
13 |
|
|
{
|
14 |
|
|
public static void Register(WebApplicationBuilder builder)
|
15 |
|
|
{
|
16 |
|
|
builder.Services.AddAutoMapper(typeof(UserProfileEF), typeof(DocumentProfileEF));
|
17 |
|
|
}
|
18 |
|
|
}
|
19 |
|
|
}
|