blob: 0e6f6c0aeac70f080f918fdbaf44ae67ce8db651 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
using Microsoft.Extensions.DependencyInjection;
namespace Timeline.Services.Migration
{
public static class MigrationServiceCollectionExtensions
{
public static IServiceCollection AddCustomMigration(this IServiceCollection services)
{
services.AddScoped<ICustomMigrationManager, CustomMigrationManager>();
services.AddScoped<ICustomMigration, TimelinePostContentToDataMigration>();
return services;
}
}
}
|