Torma Kristóf
017f7a2e7b
All checks were successful
continuous-integration/drone/push Build is passing
30 lines
661 B
C#
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();
|
|
}
|
|
}
|
|
}
|