From ef1804c06debab20e673d86302bf3fc1a58826d4 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 5 Sep 2016 00:23:43 +0200 Subject: [PATCH] nettoayage --- Yavsc/Controllers/ValuesController.cs | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 Yavsc/Controllers/ValuesController.cs diff --git a/Yavsc/Controllers/ValuesController.cs b/Yavsc/Controllers/ValuesController.cs deleted file mode 100644 index 3b83c5b9..00000000 --- a/Yavsc/Controllers/ValuesController.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System.Collections.Generic; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Authorization; - -namespace Yavsc.Controllers -{ - [Route("api/[controller]")] - public class ValuesController : Controller - { - // GET: api/values - [HttpGet] - public IEnumerable Get() - { - //throw new Exception("Horsed"); - return new string[] { "value1", "value2" }; - } - - // GET api/values/5 - [HttpGet("{id}")] - [Authorize("Bearer")] - public string Get(int id) - { - return "value"; - } - } -}