Files
C.TRACK/C-TRACK/Controllers/HealthController.cs
T
2019-04-19 21:15:10 +02:00

41 lines
677 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace C_TRACK
{
public class HealthController : ApiController
{
// GET api/<controller>
public string Get()
{
return "HELLO";
}
// GET api/<controller>/5
public string Get(int id)
{
return $"HELLO {id}";
}
// POST api/<controller>
public void Post([FromBody]string value)
{
}
// PUT api/<controller>/5
public void Put(int id, [FromBody]string value)
{
}
// DELETE api/<controller>/5
public void Delete(int id)
{
}
}
}