2021-02-08 20:48:10 +01:00
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace hanyadikhetvan.Controllers
|
|
|
|
|
{
|
|
|
|
|
[ApiController]
|
|
|
|
|
[Route("[controller]")]
|
|
|
|
|
public class HanyadikHetVanController : ControllerBase
|
|
|
|
|
{
|
|
|
|
|
private readonly ILogger<HanyadikHetVanController> _logger;
|
|
|
|
|
|
|
|
|
|
public HanyadikHetVanController(ILogger<HanyadikHetVanController> logger)
|
|
|
|
|
{
|
|
|
|
|
_logger = logger;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[HttpGet]
|
|
|
|
|
public HanyadikHetVan Get()
|
|
|
|
|
{
|
2021-02-09 14:09:10 +01:00
|
|
|
|
Console.WriteLine(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE"));
|
2021-02-08 20:48:10 +01:00
|
|
|
|
return new HanyadikHetVan();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|