public ActionResult Logs(int id) { var model = _templateServices.GetLogs(id); if (model == null) { SetErrorMessage(LocalizedResourceServices.T("AdminModule:::Templates:::Messages:::ObjectNotFounded:::Template is not founded.")); return(RedirectToAction("Index")); } return(View(model)); }