mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 15:42:48 +00:00
Comment Out Missing Views
Fix errors found by Resharper
This commit is contained in:
parent
78d7bceecb
commit
0d9e687e66
2 changed files with 20 additions and 16 deletions
|
@ -10,12 +10,14 @@ namespace Website.Controllers
|
||||||
{
|
{
|
||||||
public class AdminController : Controller
|
public class AdminController : Controller
|
||||||
{
|
{
|
||||||
// GET: Admin
|
//Commented out code below as Sync.cshtml is missing
|
||||||
public async Task<ActionResult> Sync()
|
|
||||||
{
|
//// GET: Admin
|
||||||
|
//public async Task<ActionResult> Sync()
|
||||||
|
//{
|
||||||
|
|
||||||
await new DatabaseService().Sync();
|
// await new DatabaseService().Sync();
|
||||||
return View();
|
// return View();
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -13,18 +13,20 @@ namespace Website.Controllers
|
||||||
return View();
|
return View();
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActionResult About()
|
//Commented out code below as About.cshtml & Contact.cshtml are missing
|
||||||
{
|
|
||||||
ViewBag.Message = "Your application description page.";
|
|
||||||
|
|
||||||
return View();
|
//public ActionResult About()
|
||||||
}
|
//{
|
||||||
|
// ViewBag.Message = "Your application description page.";
|
||||||
|
|
||||||
public ActionResult Contact()
|
// return View();
|
||||||
{
|
//}
|
||||||
ViewBag.Message = "Your contact page.";
|
|
||||||
|
|
||||||
return View();
|
//public ActionResult Contact()
|
||||||
}
|
//{
|
||||||
|
// ViewBag.Message = "Your contact page.";
|
||||||
|
|
||||||
|
// return View();
|
||||||
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue