public ActionResult Logs() { var model = new LogsModel(); model.LoadLogs(); return View(model); }
public ActionResult DeleteOldLogs() { // TODO: ???? var model = new LogsModel(); // model.DeleteOldLogs(); ShowSuccessMessage("Logs older than a month has been removed."); return RedirectToAction("Logs"); }