Move away from top level statements to keep everything under LANCommander namespace
parent
485b6febbe
commit
006bfcb866
|
@ -11,6 +11,12 @@ using System.Text;
|
||||||
using Hangfire;
|
using Hangfire;
|
||||||
using NLog;
|
using NLog;
|
||||||
|
|
||||||
|
namespace LANCommander
|
||||||
|
{
|
||||||
|
internal class Program
|
||||||
|
{
|
||||||
|
static async Task Main(string[] args)
|
||||||
|
{
|
||||||
Logger Logger = LogManager.GetCurrentClassLogger();
|
Logger Logger = LogManager.GetCurrentClassLogger();
|
||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
@ -236,3 +242,7 @@ foreach (var server in await serverService.Get(s => s.Autostart).ToListAsync())
|
||||||
}
|
}
|
||||||
|
|
||||||
app.Run();
|
app.Run();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue