mirror of https://github.com/Jackett/Jackett
parent
78d7bceecb
commit
0d9e687e66
|
@ -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();
|
||||
//}
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
//}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue