aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService.Gateway/Controllers/ValuesController.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-13 21:27:03 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-13 21:27:03 +0200
commit69f27fd4bfc5a46fad019b06c9c8d06159c400b9 (patch)
tree0589b3b3c81337d2cf017a04ec0308c7e454a956 /Software/Visual_Studio/Web/Tango.MachineService.Gateway/Controllers/ValuesController.cs
parent3bad6430679e06468fce5c90771fdf6270d62748 (diff)
downloadTango-69f27fd4bfc5a46fad019b06c9c8d06159c400b9.tar.gz
Tango-69f27fd4bfc5a46fad019b06c9c8d06159c400b9.zip
Midwork, Machine Service Gateway
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService.Gateway/Controllers/ValuesController.cs')
-rw-r--r--Software/Visual_Studio/Web/Tango.MachineService.Gateway/Controllers/ValuesController.cs39
1 files changed, 39 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Web/Tango.MachineService.Gateway/Controllers/ValuesController.cs b/Software/Visual_Studio/Web/Tango.MachineService.Gateway/Controllers/ValuesController.cs
new file mode 100644
index 000000000..2c742706e
--- /dev/null
+++ b/Software/Visual_Studio/Web/Tango.MachineService.Gateway/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.MachineService.Gateway.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)
+ {
+ }
+ }
+}