mirror of
https://github.com/alex289/CleanArchitecture.git
synced 2025-07-05 13:33:56 +00:00
22 lines
501 B
C#
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";
|
|
}
|
|
} |