feature/refactor-to-dotnet-8-standards #2
@@ -5,11 +5,9 @@ using System.Text;
|
|||||||
using System.Threading.Tasks;
|
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; }
|
public static General general { get; set; }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
namespace TemplateNETService.Controllers
|
namespace TemplateNETService.Controllers;
|
||||||
{
|
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Route("api")]
|
[Route("api")]
|
||||||
public class ServiceController : ControllerBase
|
public class ServiceController : ControllerBase
|
||||||
@@ -13,4 +13,3 @@ namespace TemplateNETService.Controllers
|
|||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
@@ -4,10 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace TemplateNETService.Models
|
|
||||||
{
|
|
||||||
public class General
|
public class General
|
||||||
{
|
{
|
||||||
public int ThisPort { get; set; }
|
public int ThisPort { get; set; }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user