You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
723 B

using Dto.Factories;
using Interface;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Modele.Classe;
/*
namespace Api.Controllers
{
[Route("[controller]")]
[ApiController]
public class Geolocalisations : Controller
{
private readonly IApi data;
public Geolocalisations(IApi manager)
{
this.data = manager;
}
[HttpGet]
public async Task<IActionResult> Get(long IdPoint)
{
Geolocalisation geo = (await data.GetGeolocalisations(IdPoint));
if (geo == null)
{
return BadRequest(IdPoint);
}
return Ok(geo.ModeleToDTO());
}
}
}
*/