From 0d9e687e6603ae4319625520dac501d3dfb1fee8 Mon Sep 17 00:00:00 2001 From: flightlevel Date: Sat, 7 Nov 2015 12:20:49 +1100 Subject: [PATCH] Comment Out Missing Views Fix errors found by Resharper --- src/Website/Controllers/AdminController.cs | 14 ++++++++------ src/Website/Controllers/HomeController.cs | 22 ++++++++++++---------- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/src/Website/Controllers/AdminController.cs b/src/Website/Controllers/AdminController.cs index 7d833be3e..12cb8871c 100644 --- a/src/Website/Controllers/AdminController.cs +++ b/src/Website/Controllers/AdminController.cs @@ -10,12 +10,14 @@ namespace Website.Controllers { public class AdminController : Controller { - // GET: Admin - public async Task Sync() - { + //Commented out code below as Sync.cshtml is missing + + //// GET: Admin + //public async Task Sync() + //{ - await new DatabaseService().Sync(); - return View(); - } + // await new DatabaseService().Sync(); + // return View(); + //} } } \ No newline at end of file diff --git a/src/Website/Controllers/HomeController.cs b/src/Website/Controllers/HomeController.cs index 180d94911..11e4440de 100644 --- a/src/Website/Controllers/HomeController.cs +++ b/src/Website/Controllers/HomeController.cs @@ -13,18 +13,20 @@ namespace Website.Controllers return View(); } - public ActionResult About() - { - ViewBag.Message = "Your application description page."; + //Commented out code below as About.cshtml & Contact.cshtml are missing - return View(); - } + //public ActionResult About() + //{ + // ViewBag.Message = "Your application description page."; - public ActionResult Contact() - { - ViewBag.Message = "Your contact page."; + // return View(); + //} - return View(); - } + //public ActionResult Contact() + //{ + // ViewBag.Message = "Your contact page."; + + // return View(); + //} } } \ No newline at end of file