Removed unuseful configuration from RootController
This commit is contained in:
@@ -1,22 +1,18 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using BasicDotnetTemplate.MainProject.Models.Settings;
|
using BasicDotnetTemplate.MainProject.Models.Settings;
|
||||||
|
using Microsoft.AspNetCore.Http.HttpResults;
|
||||||
|
|
||||||
namespace BasicDotnetTemplate.MainProject.Controllers
|
namespace BasicDotnetTemplate.MainProject.Controllers
|
||||||
{
|
{
|
||||||
[Route("")]
|
[Route("")]
|
||||||
public class RootController : BaseController
|
public class RootController: ControllerBase
|
||||||
{
|
{
|
||||||
public RootController(
|
public RootController() { }
|
||||||
IConfiguration configuration
|
|
||||||
) : base(configuration)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
[HttpGet("")]
|
[HttpGet("")]
|
||||||
public IActionResult GetVersion()
|
public IActionResult GetVersion()
|
||||||
{
|
{
|
||||||
return Success(String.Empty, "Success");
|
return Ok();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user