hanyadikhetvan/Controllers/HanyadikHetVanController.cs
Torma Kristóf 017f7a2e7b
All checks were successful
continuous-integration/drone/push Build is passing
onions
2021-02-09 16:28:13 +01:00

30 lines
661 B
C#

using hanyadikhetvan.DTO;
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 HanyadikHetVanService _service;
public HanyadikHetVanController(HanyadikHetVanService service)
{
_service = service;
}
[HttpGet]
public HanyadikHetVanDTO Get()
{
return _service.HanyadikHetVan();
}
}
}