Merge pull request #3981 from mdmontesinos/dev

Update Module Template IServerStartup to be ServerStartup instead of DbContextFactory
This commit is contained in:
Shaun Walker 2024-03-12 10:29:47 -04:00 committed by GitHub
commit bcad5eda81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,10 +2,11 @@ using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Oqtane.Infrastructure;
using [Owner].Module.[Module].Repository;
namespace [Owner].Module.[Module].Repository
namespace [Owner].Module.[Module].Startup
{
public class [Module]DbContextFactory : IServerStartup
public class [Module]ServerStartup : IServerStartup
{
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{