mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 09:59:13 -05:00
16 lines
388 B
C#
16 lines
388 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using System.Collections.Generic;
|
|
|
|
namespace ChrisKaczor.HomeMonitor.Weather.Service.Controllers
|
|
{
|
|
[Route("[controller]")]
|
|
[ApiController]
|
|
public class ValuesController : ControllerBase
|
|
{
|
|
[HttpGet]
|
|
public ActionResult<IEnumerable<string>> Get()
|
|
{
|
|
return new[] { "value1", "value2" };
|
|
}
|
|
}
|
|
} |