26 lines
706 B
C#
26 lines
706 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.Extensions.Configuration;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Persistence.Repositories;
|
|
using Persistence.Database.Model;
|
|
using Persistence.Repository.Data;
|
|
using Persistence.Repository.Repositories;
|
|
using Persistence.Database;
|
|
|
|
namespace Persistence.Repository;
|
|
public static class DependencyInjection
|
|
{
|
|
public static void MapsterSetup()
|
|
{
|
|
}
|
|
|
|
public static IServiceCollection AddInfrastructure(this IServiceCollection services)
|
|
{
|
|
MapsterSetup();
|
|
|
|
services.AddTransient<ITimeSeriesDataRepository<DataSaubDto>, TimeSeriesDataRepository<DataSaub, DataSaubDto>>();
|
|
|
|
return services;
|
|
}
|
|
}
|