Directories

This commit is contained in:
2018-10-04 21:18:18 +02:00
parent 3b88ea1d48
commit b5ca26c7cb
16 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace LaDOSE.Api.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ConfigController : ControllerBase
{
// GET api/Config
[HttpGet]
public ActionResult<IEnumerable<string>> Get()
{
return new string[] { "value1", "value2" };
}
// GET api/Config/5
[HttpGet("{id}")]
public ActionResult<string> Get(int id)
{
return "value";
}
}
}