Compare commits
2 Commits
9c162e1752
...
2762a7c0a4
| Author | SHA1 | Date | |
|---|---|---|---|
| 2762a7c0a4 | |||
| f69a2865a2 |
@@ -1,15 +1,8 @@
|
|||||||
using System;
|
using TemplateNETService.Models;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
namespace TemplateNETService.Business;
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using TemplateNETService.Models;
|
|
||||||
|
|
||||||
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,13 +1,6 @@
|
|||||||
using System;
|
namespace TemplateNETService.Models;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace TemplateNETService.Models
|
|
||||||
{
|
|
||||||
public class General
|
public class General
|
||||||
{
|
{
|
||||||
public int ThisPort { get; set; }
|
public int ThisPort { get; set; }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using Microsoft.AspNetCore.Builder;
|
using Microsoft.AspNetCore.Builder;
|
||||||
using Microsoft.AspNetCore.Hosting;
|
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
|
|||||||
Reference in New Issue
Block a user