feature/refactor-to-dotnet-8-standards (#2)
Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
@@ -1,15 +1,8 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using TemplateNETService.Models;
|
||||
using TemplateNETService.Models;
|
||||
|
||||
namespace TemplateNETService.Business
|
||||
namespace TemplateNETService.Business;
|
||||
|
||||
public class Config
|
||||
{
|
||||
public class Config
|
||||
{
|
||||
public static General general { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,13 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
namespace TemplateNETService.Models;
|
||||
|
||||
namespace TemplateNETService.Models
|
||||
public class General
|
||||
{
|
||||
public class General
|
||||
{
|
||||
public int ThisPort { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
using System.Reflection;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
|
||||
Reference in New Issue
Block a user