0
0
mirror of https://github.com/alex289/CleanArchitecture.git synced 2025-07-05 13:33:56 +00:00
CleanArchitecture/CleanArchitecture.Api/Controllers/WeatherForecastController.cs
2023-03-05 21:47:33 +01:00

22 lines
501 B
C#

using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace CleanArchitecture.Api.Controllers;
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
{
private readonly ILogger<WeatherForecastController> _logger;
public WeatherForecastController(ILogger<WeatherForecastController> logger)
{
_logger = logger;
}
[HttpGet(Name = "GetWeatherForecast")]
public string Get()
{
return "test";
}
}