22 lines
503 B
C#
22 lines
503 B
C#
using Microsoft.Extensions.Hosting;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SewerStammGen.HostBuilders
|
|
{
|
|
static class AddDBContextHostBuilderExtensions
|
|
{
|
|
public static IHostBuilder AddDBContext(this IHostBuilder hostBuilder)
|
|
{
|
|
hostBuilder.ConfigureServices((context, services) =>
|
|
{
|
|
|
|
});
|
|
return hostBuilder;
|
|
}
|
|
}
|
|
}
|