diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-12-19 12:57:04 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-12-19 12:57:04 +0200 |
| commit | de762e7e5b346af5a12eff04cbaa0696eec15b8c (patch) | |
| tree | 76368bb6e9f62af738ab8420c4db19079b702fa3 /Software/Visual_Studio/Web/Tango.MachineService/Controllers/ValuesController.cs | |
| parent | 0f5a0b13fc4408952d90d2450c642a7948b88879 (diff) | |
| download | Tango-de762e7e5b346af5a12eff04cbaa0696eec15b8c.tar.gz Tango-de762e7e5b346af5a12eff04cbaa0696eec15b8c.zip | |
Moved all web transport to json :/
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Controllers/ValuesController.cs')
| -rw-r--r-- | Software/Visual_Studio/Web/Tango.MachineService/Controllers/ValuesController.cs | 45 |
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) - { - } - } -} |
