25 lines
622 B
C#
25 lines
622 B
C#
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using OpenAuth.App.ServiceApp.DroneCaseInfo;
|
|
using OpenAuth.App.ServiceApp.InsTaskHallManager;
|
|
|
|
namespace OpenAuth.WebApi.Controllers.ServiceControllers
|
|
{
|
|
[Route("api/[controller]/[action]")]
|
|
[ApiController]
|
|
public class DroneCaseinfoController : ControllerBase
|
|
{
|
|
private readonly DroneCaseinfoApp _app;
|
|
public DroneCaseinfoController(DroneCaseinfoApp app)
|
|
{
|
|
_app = app;
|
|
}
|
|
|
|
[HttpGet]
|
|
public string Test(string txt)
|
|
{
|
|
return _app.Test(txt);
|
|
}
|
|
}
|
|
}
|