aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/Mapper/MapperServiceCollectionExtensions.cs
blob: 262b2f20c5d557c9020e8bdf8bde7b7c49c143b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using Microsoft.Extensions.DependencyInjection;

namespace Timeline.Services.Mapper
{
    public static class MapperServiceCollectionExtensions
    {
        public static void AddMappers(this IServiceCollection services)
        {
            services.AddScoped<UserMapper, UserMapper>();
            services.AddScoped<TimelineMapper, TimelineMapper>();
        }
    }
}