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 15:13:16 +01:00
|
|
|
|
_logger.LogWarning(DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE")).ToString());
|
2021-02-08 20:48:10 +01:00
|
|
|
|
return new HanyadikHetVan();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|