aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/TCC/Tango.TCC.Service/Controllers/ValuesController.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-03-26 12:54:09 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-03-26 12:54:09 +0200
commit7dbd32ddcf6611dec88ef56336b364110b019571 (patch)
tree9cb2ed657787d907b6bbd7695aafa244bba886ee /Software/Visual_Studio/TCC/Tango.TCC.Service/Controllers/ValuesController.cs
parent0aaf60dbc0322abc6707b5cf057d797fc26a1734 (diff)
downloadTango-7dbd32ddcf6611dec88ef56336b364110b019571.tar.gz
Tango-7dbd32ddcf6611dec88ef56336b364110b019571.zip
A lot of work !!!!
Diffstat (limited to 'Software/Visual_Studio/TCC/Tango.TCC.Service/Controllers/ValuesController.cs')
-rw-r--r--Software/Visual_Studio/TCC/Tango.TCC.Service/Controllers/ValuesController.cs39
1 files changed, 39 insertions, 0 deletions
diff --git a/Software/Visual_Studio/TCC/Tango.TCC.Service/Controllers/ValuesController.cs b/Software/Visual_Studio/TCC/Tango.TCC.Service/Controllers/ValuesController.cs
new file mode 100644
index 000000000..90f745eb3
--- /dev/null
+++ b/Software/Visual_Studio/TCC/Tango.TCC.Service/Controllers/ValuesController.cs
@@ -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 Tango.TCC.Service.Controllers
+{
+ public class ValuesController : ApiController
+ {
+ // GET api/values
+ public IEnumerable<string> Get()
+ {
+ return new string[] { "value1", "value2" };
+ }
+
+ // GET api/values/5
+ public string Get(int id)
+ {
+ return "value";
+ }
+
+ // POST api/values
+ public void Post([FromBody]string value)
+ {
+ }
+
+ // PUT api/values/5
+ public void Put(int id, [FromBody]string value)
+ {
+ }
+
+ // DELETE api/values/5
+ public void Delete(int id)
+ {
+ }
+ }
+}