Comment Out Missing Views

Fix errors found by Resharper
This commit is contained in:
flightlevel 2015-11-07 12:20:49 +11:00
parent 78d7bceecb
commit 0d9e687e66
2 changed files with 20 additions and 16 deletions

View File

@ -10,12 +10,14 @@ namespace Website.Controllers
{
public class AdminController : Controller
{
// GET: Admin
public async Task<ActionResult> Sync()
{
//Commented out code below as Sync.cshtml is missing
await new DatabaseService().Sync();
return View();
}
//// GET: Admin
//public async Task<ActionResult> Sync()
//{
// await new DatabaseService().Sync();
// return View();
//}
}
}

View File

@ -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();
//}
}
}