Files
MoonPro.net/MP-MON/Controllers/DbTaskController.cs
T
2020-11-13 14:21:16 +01:00

40 lines
778 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace MP_MON.Controllers
{
public class DbTaskController : ApiController
{
// GET: api/DbTask
public IEnumerable<string> Get()
{
return new string[] { "value1", "value2" };
}
// GET: api/DbTask/5
public string Get(int id)
{
return "value";
}
// POST: api/DbTask
public void Post([FromBody]string value)
{
}
// PUT: api/DbTask/5
public void Put(int id, [FromBody]string value)
{
}
// DELETE: api/DbTask/5
public void Delete(int id)
{
}
}
}