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