aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService/Controllers/ValuesController.cs
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2018-12-23 11:25:16 +0200
committerAvi Levkovich <avi@twine-s.com>2018-12-23 11:25:16 +0200
commit32b6e8d780c1fcadc78301a26a0f19d40a0dc270 (patch)
treebc4437c517ae41163938275b46bc4bf6ea45f092 /Software/Visual_Studio/Web/Tango.MachineService/Controllers/ValuesController.cs
parent7ac67be021eff174dfcc740d56a2cb1ed7aa43bf (diff)
parent5cb09f7732429d15477321e7f748d010ef27c85d (diff)
downloadTango-32b6e8d780c1fcadc78301a26a0f19d40a0dc270.tar.gz
Tango-32b6e8d780c1fcadc78301a26a0f19d40a0dc270.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Controllers/ValuesController.cs')
-rw-r--r--Software/Visual_Studio/Web/Tango.MachineService/Controllers/ValuesController.cs45
1 files changed, 0 insertions, 45 deletions
diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/ValuesController.cs b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/ValuesController.cs
deleted file mode 100644
index f76d66836..000000000
--- a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/ValuesController.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Net;
-using System.Net.Http;
-using System.Web.Http;
-using Tango.MachineService.Models;
-
-namespace Tango.MachineService.Controllers
-{
- public class ValuesController : ApiController
- {
- private static List<Person> persons = new List<Person>();
-
- // GET api/values
- public IEnumerable<Person> Get()
- {
- return persons;
- }
-
- // GET api/values/5
- public Person Get(int id)
- {
- return persons[id];
- }
-
- // POST api/values
- public Person Post([FromBody]Person person)
- {
- persons.Add(person);
- return person;
- }
-
- // PUT api/values/5
- public void Put(Person person)
- {
-
- }
-
- // DELETE api/values/5
- public void Delete(int id)
- {
- }
- }
-}