Demo Tab x Baldi (2 review)

This commit is contained in:
Samuele E. Locatelli
2020-11-13 14:21:16 +01:00
parent 04d6e3c145
commit c9f095ad68
16 changed files with 322 additions and 9 deletions
+39
View File
@@ -0,0 +1,39 @@
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)
{
}
}
}