Move away from top level statements to keep everything under LANCommander namespace

media v0.1.1
Pat Hartl 2023-09-14 17:44:16 -05:00
parent 485b6febbe
commit 006bfcb866
1 changed files with 200 additions and 190 deletions

View File

@ -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();
}
}
}