feature/refactor-to-dotnet-8-standards #3

Merged
marvin.spiegel merged 4 commits from feature/refactor-to-dotnet-8-standards into main 2026-01-28 12:17:29 +00:00
3 changed files with 18 additions and 24 deletions
Showing only changes of commit f69a2865a2 - Show all commits

View File

@@ -5,11 +5,9 @@ using System.Text;
using System.Threading.Tasks;
using TemplateNETService.Models;
namespace TemplateNETService.Business
{
public class Config
{
public static General general { get; set; }
}
}
namespace TemplateNETService.Business;
public class Config
{
public static General general { get; set; }
}

View File

@@ -1,16 +1,15 @@
using Microsoft.AspNetCore.Mvc;
namespace TemplateNETService.Controllers
namespace TemplateNETService.Controllers;
[ApiController]
[Route("api")]
public class ServiceController : ControllerBase
{
[ApiController]
[Route("api")]
public class ServiceController : ControllerBase
{
[HttpGet]
[Route("ping")]
public IActionResult GetStatus()
{
return Ok();
}
}
}

View File

@@ -4,10 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TemplateNETService.Models
public class General
{
public class General
{
public int ThisPort { get; set; }
}
}