From 08e7a82cc7b237e550c0236bebd4f41c3c3f4acf Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Fri, 16 Mar 2018 21:40:28 +0100 Subject: Moved API to separate folder. --- PollutometerWebApi/Controllers/HomeController.cs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 PollutometerWebApi/Controllers/HomeController.cs (limited to 'PollutometerWebApi/Controllers/HomeController.cs') 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(); - } - } -} -- cgit v1.2.3