2020-05-12 12:13:25 +02:00
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace zero.Debug.Controllers
|
|
|
|
|
{
|
|
|
|
|
public class HomeController : Controller
|
|
|
|
|
{
|
|
|
|
|
[HttpGet]
|
|
|
|
|
public IActionResult Index()
|
|
|
|
|
{
|
|
|
|
|
return View();
|
|
|
|
|
}
|
2020-05-19 15:53:01 +02:00
|
|
|
|
2020-10-16 14:02:10 +02:00
|
|
|
[HttpGet]
|
|
|
|
|
public async Task<IActionResult> Test()
|
|
|
|
|
{
|
|
|
|
|
await Task.Delay(3000);
|
|
|
|
|
return Json(new
|
|
|
|
|
{
|
|
|
|
|
result = "okay"
|
|
|
|
|
});
|
|
|
|
|
}
|
2020-05-12 12:13:25 +02:00
|
|
|
}
|
|
|
|
|
}
|