diff options
Diffstat (limited to 'PollutometerWebApi/Controllers/HomeController.cs')
-rw-r--r-- | PollutometerWebApi/Controllers/HomeController.cs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/PollutometerWebApi/Controllers/HomeController.cs b/PollutometerWebApi/Controllers/HomeController.cs deleted file mode 100644 index 69e4846..0000000 --- a/PollutometerWebApi/Controllers/HomeController.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Web.Mvc; - -namespace PollutometerWebApi.Controllers -{ - public class HomeController : Controller - { - public ActionResult Index() - { - var mvcName = typeof(Controller).Assembly.GetName(); - var isMono = Type.GetType("Mono.Runtime") != null; - - ViewData["Version"] = mvcName.Version.Major + "." + mvcName.Version.Minor; - ViewData["Runtime"] = isMono ? "Mono" : ".NET"; - - return View(); - } - } -} |