Projekt

Obecné

Profil

« Předchozí | Další » 

Revize a35cb648

Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)

Added comments to backend

Zobrazit rozdíly:

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